Napisano dnia: 2010-11-07 12:02:40
Witam chciałem napisać misję zgodnie z poradnikiem jednak wywala mi error:
set_weather 3
00C0: set_current_time 21 00
01F0: set_max_wanted_level_to 6
$PLAYER_CHAR = Player.Create(#NULL, 0.0, 0.0, 0.0)
$PLAYER_ACTOR = Actor.EmulateFromPlayer($PLAYER_CHAR)
$PLAYER_CHAR.SetClothes("PLAYER_FACE", "HEAD", Head)
$PLAYER_CHAR.SetClothes("JEANSDENIM", "JEANS", Legs)
$PLAYER_CHAR.SetClothes("SNEAKERBINCBLK", "SNEAKER", Shoes)
$PLAYER_CHAR.SetClothes("VEST", "VEST", Torso)
$PLAYER_CHAR.Build
$PLAYER_CHAR.CanMove(True)
016C: restart_if_wasted at -1603,88427734375 -262,970306396484 15,1300001144409 angle 137.0 unknown 0
016D: restart_if_busted at -1716,05236816406 -300,955963134766 14,8776521682739 angle 90.0 unknown 0
fade 1 (out) 0 ms
start_mission 0
end_thread
:MISJA
thread 'MISJA'
0247: request_model #BF400 // BF
038B: load_requested_models
00A5: $MOTOR = create_car #BF400 at -1616,40454101563 -124,182815551758 15,1300001144409
0175: set_car $WOZ z_angle_to 358.2751
0229: set_car $WOZ color_to 2 1
072A: put_actor $PLAYER_ACTOR into_car $WOZ driverseat
02A7: $CEL = create_icon_marker_and_sphere 56 at -1826,08117675781 -747,626831054688 14,8545875549316 radius 3.0
054C: use_GXT_table 'MISJA'
00BC: show_text_highpriority GXT 'TXT1' time 3000 flag 1
:petla1
wait 10
if
0103: actor $PLAYER_ACTOR in_sphere -1826,08117675781 -747,626831054688 14,8545875549316 radius 3.0 3.0 3.0 sphere 0 stopped_in_car
jf @petla1
01E3: show_text_1number_styled GXT 'M_PASS' number 100 time 5000 style 1
0109: player $PLAYER_CHAR money += 100
0394: play_music 1
Marker.Disable($CEL)
end_thread
Trochę ją edytowałem ale tylko proste rzeczy. Jak piszę dokładnie tak jak w poradniku to spoko a jak coś zmieniam zaraz error. Błąd w kodzie 016C.
Kod:
set_weather 3
00C0: set_current_time 21 00
01F0: set_max_wanted_level_to 6
$PLAYER_CHAR = Player.Create(#NULL, 0.0, 0.0, 0.0)
$PLAYER_ACTOR = Actor.EmulateFromPlayer($PLAYER_CHAR)
$PLAYER_CHAR.SetClothes("PLAYER_FACE", "HEAD", Head)
$PLAYER_CHAR.SetClothes("JEANSDENIM", "JEANS", Legs)
$PLAYER_CHAR.SetClothes("SNEAKERBINCBLK", "SNEAKER", Shoes)
$PLAYER_CHAR.SetClothes("VEST", "VEST", Torso)
$PLAYER_CHAR.Build
$PLAYER_CHAR.CanMove(True)
016C: restart_if_wasted at -1603,88427734375 -262,970306396484 15,1300001144409 angle 137.0 unknown 0
016D: restart_if_busted at -1716,05236816406 -300,955963134766 14,8776521682739 angle 90.0 unknown 0
fade 1 (out) 0 ms
start_mission 0
end_thread
:MISJA
thread 'MISJA'
0247: request_model #BF400 // BF
038B: load_requested_models
00A5: $MOTOR = create_car #BF400 at -1616,40454101563 -124,182815551758 15,1300001144409
0175: set_car $WOZ z_angle_to 358.2751
0229: set_car $WOZ color_to 2 1
072A: put_actor $PLAYER_ACTOR into_car $WOZ driverseat
02A7: $CEL = create_icon_marker_and_sphere 56 at -1826,08117675781 -747,626831054688 14,8545875549316 radius 3.0
054C: use_GXT_table 'MISJA'
00BC: show_text_highpriority GXT 'TXT1' time 3000 flag 1
:petla1
wait 10
if
0103: actor $PLAYER_ACTOR in_sphere -1826,08117675781 -747,626831054688 14,8545875549316 radius 3.0 3.0 3.0 sphere 0 stopped_in_car
jf @petla1
01E3: show_text_1number_styled GXT 'M_PASS' number 100 time 5000 style 1
0109: player $PLAYER_CHAR money += 100
0394: play_music 1
Marker.Disable($CEL)
end_thread
Trochę ją edytowałem ale tylko proste rzeczy. Jak piszę dokładnie tak jak w poradniku to spoko a jak coś zmieniam zaraz error. Błąd w kodzie 016C.