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. Support

    3. Suggestions

HELP WITH THE MAIN


tommykills1
 Share

Recommended Posts

tommykills1

ok im a noob at coding but i got an idea of put in tommy in san andreas. he meets people and grow he’s business and terrible thing happen. i started the first mission but the game frezes. he start off in las vantures and goes to a hotel to buy a suite. i post the scipe and please someone help me nervous.gif

 

DEFINE MISSIONS 3DEFINE MISSION 0 AT @INITIAL           // Initial 1DEFINE MISSION 1 AT @INITIL2           // Initial 2DEFINE MISSION 2 AT @TOMMY             // IntroDEFINE EXTERNAL_SCRIPTS 0 // Use -1 in order not to compile AAA scriptDEFINE UNKNOWN_EMPTY_SEGMENT 0DEFINE UNKNOWN_THREADS_MEMORY 574{$VERSION 3.1.0027}//-------------MAIN---------------03A4: name_thread 'MAIN' 01F0: set_max_wanted_level_to 6 0111: set_wasted_busted_check_to 0 00C0: set_current_time_hours_to 8 current_time_minutes_to 0 04E4: unknown_refresh_game_renderer_at 2488.5601 -1666.84 03CB: set_rendering_origin_at_3D_coord 2488.5601 -1666.84 13.38 0053: create_player_with_modelID #NULL at_3D_coord  2488.5601 -1666.84  13.38 handle_as $PLAYER_CHAR01F5: get_player_char $PLAYER_ACTOR handle_as $PLAYER_CHAR 0373: set_camera_directly_behind_player 01B6: set_weather 0 0001: wait 0 ms 087B: set_player $PLAYER_CHAR clothes "PLAYER_FACE" "HEAD" body_part 1 087B: set_player $PLAYER_CHAR clothes "JEANSDENIM" "JEANS" body_part 2 087B: set_player $PLAYER_CHAR clothes "SNEAKERBINCBLK" "SNEAKER" body_part 3 087B: set_player $PLAYER_CHAR clothes "VEST" "VEST" body_part 0 070D: rebuild_player $PLAYER_CHAR01B4: set_player $PLAYER_CHAR controllable 1 016A: do_fade_time 1 type 0 04BB: select_interior 0 // select render area 0629: change_stat 181 to 4 // integer values 016C: restart_if_wasted_at_3D_coord 2027.77 -1420.52 15.99 Z_angle 137.0 for_town_number 0 016D: restart_if_busted_at_3D_coord 1550.6801 -1675.49 14.51 Z_angle 90.0 for_town_number 0 0180: set_on_mission_flag_to $ONMISSION   004E: end_thread //-------------Mission 0---------------// Originally: Initial 1:INITIALthread 'INITIAL'end_thread //-------------Mission 1---------------// Originally: Initial 2:INITIL2thread 'INITIL2'end_thread//-------------Mission 2---------------// Originally: Intro:TOMMY$ONMISSION = 1 thread 'TOMMY'if wasted_or_busted else_jump @TOMMY_3:TOMMY_5Model.Load(#BALLAS3)Model.Load(#SENTINEL)038B: load_requested_modelselse_jump @TOMMY_1 :TOMMY_1 00A1: put_actor $PLAYER_ACTOR at 1698.001831 1605.442871 10.760487  02A3: toggle_widescreen 1  05D3: AS_actor $PLAYER_ACTOR goto_point 1718.860718 1599.989624 10.015625 mode 4 -2 ms // versionA wait 6002A3: toggle_widescreen 0 $car = Car.Create(#SENTINEL, 1720.643799, 1580.871216, 10.464296)02A7: $marker00 = create_icon_marker_and_sphere 0 at 2514.5601 -1666.84 13.380186: $marker04 = create_marker_above_car $car 0165: set_marker $marker04 color_to 20168: show_on_radar $marker04 1018B: show_on_radar $marker04 4:TOMMY_4  mission_cleanup030C: set_mission_points += 101E3: text_1number_styled "M_PASS" 10000 5000 ms 1 Player.Money($PLAYER_CHAR) += 10000Player.ClearWantedLevel($PLAYER_CHAR)wait 0:TOMMY_300BA: show_text_styled GXT 'M_FAIL' time 5000 style 1  // ~r~MISSION FAILED!return

 

Edited by tommykills1
Link to comment
Share on other sites

Try to add

 

Player.CanMove($PLAYER_CHAR) = True

after

 

087B: set_player $PLAYER_CHAR clothes "PLAYER_FACE" "HEAD" body_part 1087B: set_player $PLAYER_CHAR clothes "JEANSDENIM" "JEANS" body_part 2087B: set_player $PLAYER_CHAR clothes "SNEAKERBINCBLK" "SNEAKER" body_part 3087B: set_player $PLAYER_CHAR clothes "VEST" "VEST" body_part 0070D: rebuild_player $PLAYER_CHAR

 

Good luck!

Link to comment
Share on other sites

tommykills1
Try to add

 

Player.CanMove($PLAYER_CHAR) = True

after

 

087B: set_player $PLAYER_CHAR clothes "PLAYER_FACE" "HEAD" body_part 1087B: set_player $PLAYER_CHAR clothes "JEANSDENIM" "JEANS" body_part 2087B: set_player $PLAYER_CHAR clothes "SNEAKERBINCBLK" "SNEAKER" body_part 3087B: set_player $PLAYER_CHAR clothes "VEST" "VEST" body_part 0070D: rebuild_player $PLAYER_CHAR

 

Good luck!

no it does not do anything confused.gif

Link to comment
Share on other sites

tommykills1

(its tommy) he call rose and he tell you about salvotor and that you should meet him. then rose calls you again and tell you that there is a casino to buy for $100,000

 

EDIT: i edted but the mission does not start here is the code

 

// This file was decompiled using SASCM.INI published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007DEFINE OBJECTS 3DEFINE OBJECT SANNY BUILDER 3.01      DEFINE OBJECT INFO                     // Object number -1DEFINE OBJECT KEYCARD                  // Object number -2DEFINE MISSIONS 3DEFINE MISSION 0 AT @INITIAL           // Initial 1DEFINE MISSION 1 AT @INITIL2           // Initial 2DEFINE MISSION 2 AT @TOMMY             // IntroDEFINE EXTERNAL_SCRIPTS 0 // Use -1 in order not to compile AAA scriptDEFINE UNKNOWN_EMPTY_SEGMENT 0DEFINE UNKNOWN_THREADS_MEMORY 0{$VERSION 3.1.0027}//-------------MAIN---------------:MAIN_103A4: name_thread 'MAIN'042C: set_total_missions_to  0030D: set_total_mission_points_to  001F0: set_max_wanted_level_to  60111: set_wasted_busted_check_to  0 00C0: set_current_time  10  004E4: unknown_refresh_game_renderer_at  2494.5 -1668.503CB: set_camera  2494.5 -1668.5 13.40053: $PLAYER_CHAR = create_player #NULL at  1698.001831 1605.442871 10.76048707AF: $PLAYER_GROUP = player $PLAYER_CHAR group01F5: $PLAYER_ACTOR = create_emulated_actor_from_player $PLAYER_CHAR0173: set_actor $PLAYER_ACTOR z_angle_to  180.00373: set_camera_directly_behind_player0629: change_stat  181 (islands unlocked) to  4  // integer see statdisp.datPlayer.SetClothes($PLAYER_CHAR, "TUXEDO", "SUIT1", Torso)Player.SetClothes($PLAYER_CHAR, "SUIT1TRBLK2", "SUIT1TR", Legs)Player.SetClothes($PLAYER_CHAR, "SNEAKERBINCBLK", "SNEAKER", Shoes)Player.SetClothes($PLAYER_CHAR, "FLATTOP", "FLATTOP", Head)070D: rebuild_player $PLAYER_CHAR  0109: player $PLAYER_CHAR money += 5000000180: set_on_mission_flag_to $ONMISSION01B6: set_weather  104BB: select_interior  0  // select render area01B4: set_player $PLAYER_CHAR frozen_state  1 (unfrozen)01B7: release_weather016C: restart_if_wasted at  2494.5 -1668.5 13.4 angle  180.0 unknown  0016D: restart_if_busted at  2494.5 -1668.5 13.4 angle  180.0 unknown  00417: start_mission  1   :MAIN_30001: wait 2500 ms0002: jump @MAIN_3  //-------------Mission 0---------------// Originally: Initial 1:INITIALthread 'INITIAL'end_thread //-------------Mission 1---------------// Originally: Initial 2:INITIL2thread 'INITIL2'end_thread//-------------Mission 2---------------// Originally: Intro:TOMMY$ONMISSION = 1 thread 'TOMMY'if wasted_or_busted else_jump @TOMMY_3:TOMMY_5Model.Load(#BALLAS3)Model.Load(#SENTINEL)038B: load_requested_modelselse_jump @TOMMY_1 :TOMMY_1 00A1: put_actor $PLAYER_ACTOR at 1698.001831 1605.442871 10.760487  02A3: toggle_widescreen 1  05D3: AS_actor $PLAYER_ACTOR goto_point 1718.860718 1599.989624 10.015625 mode 4 -2 ms // versionA wait 6002A3: toggle_widescreen 0 $car = Car.Create(#SENTINEL, 1720.643799, 1580.871216, 10.464296)02A7: $marker00 = create_icon_marker_and_sphere 0 at 2514.5601 -1666.84 13.380186: $marker04 = create_marker_above_car $car 0165: set_marker $marker04 color_to 20168: show_on_radar $marker04 1018B: show_on_radar $marker04 40002: jump @TOMMY_4:TOMMY_4  mission_cleanup030C: set_mission_points += 101E3: text_1number_styled "M_PASS" 10000 5000 ms 1 Player.Money($PLAYER_CHAR) += 10000Player.ClearWantedLevel($PLAYER_CHAR)wait 0:TOMMY_300BA: show_text_styled GXT 'M_FAIL' time 5000 style 1  // ~r~MISSION FAILED!return

 

 

Edited by tommykills1
Link to comment
Share on other sites

Put this code before //-------------Mission 0---------------

 

create_thread @MISSION

 

 

And this below

 

:MISSION03BC: [email protected] = create_sphere_at X Y Z radius 1.0 if0102:   actor $PLAYER_ACTOR in_sphere X Y Z radius 1.0 sphere 1 stopped_on_foot jf @MISSION_2:MISSION_20417: start_mission 3  // Intro

 

 

Works?

Link to comment
Share on other sites

tommykills1
Put this code before //-------------Mission 0---------------

 

create_thread @MISSION

 

 

And this below

 

:MISSION03BC: [email protected] = create_sphere_at X Y Z radius 1.0 if0102:   actor $PLAYER_ACTOR in_sphere X Y Z radius 1.0 sphere 1 stopped_on_foot jf @MISSION_2:MISSION_20417: start_mission 3  // Intro

 

 

Works?

i need to start all over suicidal.gifsuicidal.gifsuicidal.gif

Link to comment
Share on other sites

spaceeinstein

Or you could just change

0417: start_mission 1

to

0417: start_mission 2

Link to comment
Share on other sites

tommykills1

ok i got mission one where you start. lol.gif i need help put the words in. monocle.gif and start the 2 mission in the shire monocle.gif

 

edit: here is the code

 

]// This file was decompiled using SASCM.INI published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007DEFINE OBJECTS 3DEFINE OBJECT SANNY BUILDER 3.01      DEFINE OBJECT INFO                     // Object number -1DEFINE OBJECT KEYCARD                  // Object number -2DEFINE MISSIONS 4DEFINE MISSION 0 AT @INITIAL           // Initial 1DEFINE MISSION 1 AT @INITIL2           // Initial 2DEFINE MISSION 2 AT @TOMMY             // IntroDEFINE MISSION 3 AT @TOMMY2              // Video Game: They Crawled From UranusDEFINE EXTERNAL_SCRIPTS 0 // Use -1 in order not to compile AAA scriptDEFINE UNKNOWN_EMPTY_SEGMENT 0DEFINE UNKNOWN_THREADS_MEMORY 0{$VERSION 3.1.0027}//-------------MAIN---------------:MAIN_103A4: name_thread 'MAIN'042C: set_total_missions_to  0030D: set_total_mission_points_to  001F0: set_max_wanted_level_to  60111: set_wasted_busted_check_to  0 00C0: set_current_time  10  004E4: unknown_refresh_game_renderer_at  2494.5 -1668.503CB: set_camera  2494.5 -1668.5 13.40053: $PLAYER_CHAR = create_player #NULL at  1698.001831 1605.442871 10.76048707AF: $PLAYER_GROUP = player $PLAYER_CHAR group01F5: $PLAYER_ACTOR = create_emulated_actor_from_player $PLAYER_CHAR0173: set_actor $PLAYER_ACTOR z_angle_to  180.00373: set_camera_directly_behind_player0629: change_stat  181 (islands unlocked) to  4  // integer see statdisp.datPlayer.SetClothes($PLAYER_CHAR, "TUXEDO", "SUIT1", Torso)Player.SetClothes($PLAYER_CHAR, "SUIT1TRBLK2", "SUIT1TR", Legs)Player.SetClothes($PLAYER_CHAR, "SNEAKERBINCBLK", "SNEAKER", Shoes)Player.SetClothes($PLAYER_CHAR, "FLATTOP", "FLATTOP", Head)070D: rebuild_player $PLAYER_CHAR  0109: player $PLAYER_CHAR money += 00180: set_on_mission_flag_to $ONMISSION01B6: set_weather  104BB: select_interior  0  // select render area01B4: set_player $PLAYER_CHAR frozen_state  1 (unfrozen)01B7: release_weather016C: restart_if_wasted at  2494.5 -1668.5 13.4 angle  180.0 unknown  0016D: restart_if_busted at  2494.5 -1668.5 13.4 angle  180.0 unknown  0start_mission 2  // Intro:MAIN_30001: wait 2500 ms0002: jump @MAIN_3   create_thread @MISSION:MISSION00FF:   actor $PLAYER_ACTOR sphere 1 in_sphere 1970.478882 1622.857300 12.864433 radius 1.2 1.2 2.0 on_foot jf @MISSION_2                  :MISSION_20417: start_mission 3  // Video Game: They Crawled From Uranus//-------------Mission 0---------------// Originally: Initial 1:INITIALthread 'INITIAL'end_thread //-------------Mission 1---------------// Originally: Initial 2:INITIL2thread 'INITIL2'end_thread//-------------Mission 2---------------// Originally: Intro:TOMMYthread 'Tommy' model.Load(#SENTINEL) 038B: load_requested_models:tommy_1$car = Car.Create(#SENTINEL, 1720.643799, 1580.871216, 10.464296)05D3: AS_actor $PLAYER_ACTOR goto_point 1718.860718 1599.989624 10.015625 mode 4 -2 ms // versionA jf @tommy_3 :tommy_2if00ED:   actor $PLAYER_ACTOR 0 near_point 2043.68 -1635.73 radius 4.0 4.0 on_foot jf @tommy_5:tommy_302A3: enable_widescreen 1 jf @tommy_4:tommy_404AF: [email protected] = 33200 // @ = any05AA: [email protected] = 'ROT4_AA'  // ~z~You sure he in East Los Santos?wait 1000004AF: [email protected] = 33200 // @ = any05AA: [email protected] = 'ROT4_AB'  // ~z~Yeah, right on the edge of Los Flores - some old apartments and a warehouse.wait 1000000BC: show_text_highpriority GXT 'RM4_2' time 5000 flag 1  // ~s~Drive to ~y~Big Smoke's Crack Fortress~s~.wait 9802A3: enable_widescreen 0:tommy_5mission_cleanup        Player.Money($PLAYER_CHAR) += 10002A7: $marker00 = create_icon_marker_and_sphere 33 at 1970.478882 1622.857300 12.864433Player.ClearWantedLevel($PLAYER_CHAR)004E: end_thread//-------------Mission 3---------------// Originally: Video Game: They Crawled From Uranus:TOMMY2thread 'Tommy2'MODEL.Load(#BALLAS3)038B: load_requested_modelsjump @Tommy2_12:TOMMY2_1200A1: put_actor $PLAYER_ACTOR at 1970.478882 1622.857300 [email protected] = Actor.Create(Gang1, #BALLAS3, 2013.343994, 1621.949707, 11.601563)05D3: AS_actor $3 goto_point 1979.063843 1623.031860 12.232922 mode 4 -2 ms // versionA

 

 

Edited by tommykills1
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.