Wesser Posted September 29, 2007 Share Posted September 29, 2007 (edited) 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 Edited September 30, 2007 by Wesser 012 345 678 9A BCD EFG HIJK LMN OPQR STUV WX YZ Link to comment Share on other sites More sharing options...
coin-god Posted September 29, 2007 Share Posted September 29, 2007 Nice add-on, as always Keep making these cool add-ons off-topic: Send me the Zcode and i will finish it if you dont have time Link to comment Share on other sites More sharing options...
Midnightz Posted November 5, 2007 Share Posted November 5, 2007 Confused... screenshot(s) please? Link to comment Share on other sites More sharing options...
Wesser Posted November 5, 2007 Author Share Posted November 5, 2007 (edited) Hi, Look the hud to the left. Bye Bye Edited November 6, 2007 by Wesser 012 345 678 9A BCD EFG HIJK LMN OPQR STUV WX YZ Link to comment Share on other sites More sharing options...
Midnightz Posted November 5, 2007 Share Posted November 5, 2007 Ohh, onscreen text for current location! I really love it Wesser! Link to comment Share on other sites More sharing options...
Daan17 Posted January 22, 2008 Share Posted January 22, 2008 Hi,Look the hud to the left. Bye Bye Nice mod. Now you won't lost 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 More sharing options...
Darecki Posted January 23, 2008 Share Posted January 23, 2008 (edited) Probably he uses an old version of gostown's dll mod ("from" gabe123....) Can I make this script to work in CLEO? Edited January 24, 2008 by Darecki Link to comment Share on other sites More sharing options...
coin-god Posted January 24, 2008 Share Posted January 24, 2008 Probably he uses an old version of gostown's dll mod ("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. Link to comment Share on other sites More sharing options...
Darecki Posted January 25, 2008 Share Posted January 25, 2008 Oh no.. I don't know coding at all... Can someone do this, please? Link to comment Share on other sites More sharing options...
coin-god Posted January 26, 2008 Share Posted January 26, 2008 Oh no.. I don't know coding at all...Can someone do this, please? Compile the script wesser made with wesser version, then decompile it again with the 3.2 to make the cleo. Link to comment Share on other sites More sharing options...
Darecki Posted January 26, 2008 Share Posted January 26, 2008 So where can I download 2.99e version of Sanny Builder? Link to comment Share on other sites More sharing options...
NiGGa24 Posted May 27, 2008 Share Posted May 27, 2008 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now