#1 09-07-2010 21:15

Sampsa84
Registered: 09-07-2010
Posts: 1

What is wrong??

At beginnin this worked.. but when i was trying to add another car into game. Then San Andreas crashes... i removed that line what caused crash, but it still keeps crashing... can someone help me? smile

//-------------MAIN---------------
thread 'MAIN'
01F0: set_max_wanted_level_to 6
set_wb_check_to 0
00C0: set_current_time_hours_to 8 minutes_to 0
04E4: unknown_refresh_game_renderer_at 2488.56 -1666.84
Camera.SetAtPos(2488.56, -1666.84, 13.38)
$PLAYER_CHAR = Player.Create(#NULL, -1389.769, 2637.5923, 55.98)
$PLAYER_ACTOR = Actor.EmulateFromPlayer($PLAYER_CHAR)
07AF: $PLAYER_GROUP = player $PLAYER_CHAR group
Camera.SetBehindPlayer
set_weather 0
099E: enable_police_patrols 0
wait 0
Player.SetClothes($PLAYER_CHAR, "PLAYER_FACE", "HEAD", Head)
Player.SetClothes($PLAYER_CHAR, "JEANSDENIM", "JEANS", Legs)
Player.SetClothes($PLAYER_CHAR, "SNEAKERBINCBLK", "SNEAKER", Shoes)
Player.SetClothes($PLAYER_CHAR, "VEST", "VEST", Torso)
Player.Build($PLAYER_CHAR)
Player.CanMove($PLAYER_CHAR) = True
fade 1 0
select_interior 0
0629: change_integer_stat 181 to 4
016C: restart_if_wasted_at 2027.77 -1420.52 15.99 angle 137.0 town_number 0
016D: restart_if_busted_at 1550.68 -1675.49 14.51 angle 90.0 town_number 0
0180: set_on_mission_flag_to $ONMISSION // Note: your missions have to use the variable defined here
$DEFAULT_WAIT_TIME = 250
03E6: remove_text_box

0247: load_model #DSHER
0247: load_model #DESERT_EAGLE
0247: load_model #NITESTICK


014B: $PARKED_SHERIFF = init_parked_car_generator #COPCARVG color 123 1 1 alarm 0 door_lock 0 0 10000 at -1399.661 2631.5391 55.7695 angle 90.0
014C: set_parked_car_generator $PARKED_SHERIFF cars_to_generate_to 101

09C7: change_player $PLAYER_CHAR model_to 288
01B2: give_actor $PLAYER_ACTOR weapon 24 ammo 21 // Load the weapon model before using this
01B2: give_actor $PLAYER_ACTOR weapon 3 ammo 0

:MAIN_297
wait $DEFAULT_WAIT_TIME
jump @MAIN_297

Offline

#2 09-07-2010 21:33

~AquaZ~
Registered: 01-03-2010
Posts: 726

Re: What is wrong??

Do you know, what is [соde]!?

Offline

#3 09-07-2010 21:59

Deji
From: UK
Registered: 09-11-2008
Posts: 189
Website

Re: What is wrong??

Use 0248 to check if your models are loaded before attempting to use them.

Offline

Board footer

Powered by FluxBB