Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Forum Support

    3. Suggestions

[BETA] Towns\Zones text


Wesser
 Share

Recommended Posts

Hi,

In this week I have done a new add-on for San Andreas. Now you can look every time the currently town\zone that CJ is playing. I have used Sanny Builder 2.99e because I have some problem with the new version. Good fun.

 

Sep 30 2007, 10:40

 

:STRINGthread 'STRING' :STRING_11wait 0 if  $MISSION_INTRO_PASSED == 1 // G == INT jf @STRING_1008 if 0A2B:   is_widescreen_enabled jf @STRING_57 03F0: set_text_draw_enabled 0 jump @STRING_1008 :STRING_5703F0: set_text_draw_enabled 1 :STRING_74if and  not Actor.Driving($PLAYER_ACTOR)00E1:   is_button_pressed_pad 0 button 4 jf @STRING_94 03F0: set_text_draw_enabled 0 jump @STRING_1008 :STRING_94077E: get_active_interior_to $ACTIVE_INTERIOR if  $ACTIVE_INTERIOR == 0 // G == INT jf @STRING_723 Actor.StorePos($PLAYER_ACTOR, [email protected], [email protected], [email protected])0843: get_zone_name_string_from_3D_coord [email protected] [email protected] [email protected] store_to s$8226 // 8-byte strings VersionA gosub @STRING_347 :STRING_148if or05AD:   s$8226 == 'LA' // 8-byte strings, global  // Los Santos05AD:   s$8226 == 'SF' // 8-byte strings, global  // San Fierro05AD:   s$8226 == 'VE' // 8-byte strings, global  // Las Venturasjf @STRING_219 05A9: s$8226 = 'CT' // 8-byte strings, global :STRING_219if 05AD:   s$8226 == 'SAN_AND' // 8-byte strings, global  // San Andreasjf @STRING_258 05A9: s$8226 = 'CN' // 8-byte strings, global :STRING_258033F: set_text_draw_letter_width_to 0.3 height_to 1.2 0340: set_text_draw_color_RGBA_to 255 255 255 200 081C: set_text_draw_outline_to 2 0 0 0 255 0342: set_text_draw_centered 1 0343: set_text_draw_linewidth_to 200.0 060D: set_text_draw_shadow_to 0 color_RGBA_to 0 0 0 255 03E0: unknown text_stuff 1 033E: text_draw_position_X 88.0 position_Y 426.0 GXT_reference s$8226 jump @STRING_1008 :STRING_3470842: get_player $PLAYER_CHAR town_number_store_to $CURRENT_TOWN_NUMBER if  $CURRENT_TOWN_NUMBER == 0 // G == INT jf @STRING_387 05A9: s$8230 = 'CS' // 8-byte strings, global :STRING_387if  $CURRENT_TOWN_NUMBER == 1 // G == INT jf @STRING_419 05A9: s$8230 = 'LA' // 8-byte strings, global  // Los Santos:STRING_419if  $CURRENT_TOWN_NUMBER == 2 // G == INT jf @STRING_451 05A9: s$8230 = 'SF' // 8-byte strings, global  // San Fierro:STRING_451if  $CURRENT_TOWN_NUMBER == 3 // G == INT jf @STRING_483 05A9: s$8230 = 'VE' // 8-byte strings, global  // Las Venturas:STRING_483if 05AD:   s$8226 == 'SAN_AND' // 8-byte strings, global  // San Andreasjf @STRING_522 05A9: s$8230 = 'SAN_AND' // 8-byte strings, global  // San Andreas:STRING_522if 05AD:   s$8226 == 'LA' // 8-byte strings, global  // Los Santosjf @STRING_561 05A9: s$8230 = 'LA' // 8-byte strings, global  // Los Santos:STRING_561if 05AD:   s$8226 == 'SF' // 8-byte strings, global  // San Fierrojf @STRING_600 05A9: s$8230 = 'SF' // 8-byte strings, global  // San Fierro:STRING_600if 05AD:   s$8226 == 'VE' // 8-byte strings, global  // Las Venturasjf @STRING_639 05A9: s$8230 = 'VE' // 8-byte strings, global  // Las Venturas:STRING_639033F: set_text_draw_letter_width_to 0.3 height_to 1.2 0340: set_text_draw_color_RGBA_to 255 255 255 200 081C: set_text_draw_outline_to 2 0 0 0 255 0342: set_text_draw_centered 1 0343: set_text_draw_linewidth_to 200.0 060D: set_text_draw_shadow_to 0 color_RGBA_to 0 0 0 255 03E0: unknown text_stuff 1 033E: text_draw_position_X 88.0 position_Y 326.0 GXT_reference s$8230 return :STRING_72303F0: set_text_draw_enabled 0 [email protected] = 0 // L = INT :STRING_734wait 0 if  [email protected] > 2000 // L > INT jf @STRING_734 03F0: set_text_draw_enabled 1 [email protected] = 0 // L = INT :STRING_768wait 0 094B: get_actor $PLAYER_ACTOR currently_used_EnEx_name_store_to v$ACTIVE_INTERIOR_NAME // 16-byte strings 033F: set_text_draw_letter_width_to 0.3 height_to 1.2 0340: set_text_draw_color_RGBA_to 255 255 255 200 081C: set_text_draw_outline_to 2 0 0 0 255 0342: set_text_draw_centered 1 0343: set_text_draw_linewidth_to 200.0 060D: set_text_draw_shadow_to 0 color_RGBA_to 0 0 0 255 03E0: unknown text_stuff 1 033E: text_draw_position_X 88.0 position_Y 426.0 GXT_reference v$ACTIVE_INTERIOR_NAME :STRING_845033F: set_text_draw_letter_width_to 0.3 height_to 1.2 0340: set_text_draw_color_RGBA_to 255 255 255 200 081C: set_text_draw_outline_to 2 0 0 0 255 0342: set_text_draw_centered 1 0343: set_text_draw_linewidth_to 200.0 060D: set_text_draw_shadow_to 0 color_RGBA_to 0 0 0 255 03E0: unknown text_stuff 1 033E: text_draw_position_X 88.0 position_Y 326.0 GXT_reference s$8230 [email protected] = 0 // L = INT :STRING_918077E: get_active_interior_to $ACTIVE_INTERIOR if  $ACTIVE_INTERIOR == 0 // G == INT jf @STRING_768 03F0: set_text_draw_enabled 0 :STRING_978wait 0 if  [email protected] > 2000 // L > INT jf @STRING_978 [email protected] = 0 // L = INT :STRING_1008jump @STRING_11 

 

Open your language text (.gxt) in the TEXT folder and add these new entryes.

 

Entry name'CT' -> Country'CN' -> Ocean'CS' -> Country Side

 

Bye Bye

user posted image

Edited by Wesser

012          345
678   9A   BCD
EFG HIJK LMN
OPQR  STUV
WX    YZ

Link to comment
Share on other sites

Nice add-on, as always smile.gif

 

 

Keep making these cool add-ons smile.gif

 

off-topic: Send me the Zcode and i will finish it if you dont have time smile.gif

Yl8KS.jpg
Link to comment
Share on other sites

  • 1 month later...

Hi,

Look the hud to the left.

user posted image

 

Bye Bye

user posted image

Edited by Wesser

012          345
678   9A   BCD
EFG HIJK LMN
OPQR  STUV
WX    YZ

Link to comment
Share on other sites

  • 2 months later...
Hi,

Look the hud to the left.

user posted image

 

Bye Bye

user posted image

Nice mod. Now you won't lost ph34r.giftounge.gif

 

What have You made so the graphics on the screen looks better/more detailed than in original SA?

Link to comment
Share on other sites

Probably he uses an old version of gostown's dll mod smile.gif ("from" gabe123....)

 

Can I make this script to work in CLEO?

Edited by Darecki
Link to comment
Share on other sites

Probably he uses an old version of gostown's dll mod smile.gif ("from" gabe123....)

 

Can I make this script to work in CLEO?

Yes, you just need to convert some parts of the code to version 3.2. Thats it.

Yl8KS.jpg
Link to comment
Share on other sites

Oh no.. I don't know coding at all...

Can someone do this, please? smile.gif

Compile the script wesser made with wesser version, then decompile it again with the 3.2 to make the cleo.

Yl8KS.jpg
Link to comment
Share on other sites

  • 4 months later...

someone can give me the cleo file...?

or teach me how to make a script with sanny builder??

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.