#1 Re: Вопросы по скриптингу » Sanny compile error 014B опкод » 05-01-2011 12:56

ХЕЛП ПАЦАНЫ!!!!

{$CLEO .cs}
04ED: load_animation "LOWRIDER"

// ÒÀÍÅÖ_1

:TEST
wait 0
00D6: if and
04EE: animation "LOWRIDER" loaded
00E1: player 0 pressed_key 0 10
004D: jump_if_false @TEST

:Rap
0605: actor $PLAYER_ACTOR perform_animation_sequence "RAP_A_loop" from_file "LOWRIDER" 4.0 loop 1 0 0 1 -1 ms
04EF: release_animation "LOWRIDER"
0A93: end_custom_thread

:FIN_1
wait 0
00D6: if and
8611: not actor $PLAYER_ACTOR performing_animation "RAP_A_loop"
80E1: not key_pressed 0 10
004D: jump_if_false @FIN_1
0687: clear_actor $PLAYER_ACTOR task
04EF: release_animation "LOWRIDER"
0A93: end_custom_thread

// ÒÀÍÅÖ_2

:TEST_0
wait 0
00D6: if and
04EE: animation "LOWRIDER" loaded
00E1: player 0 pressed_key 0 11
004D: jump_if_false @TEST_0

:Rap_0
0605: actor $PLAYER_ACTOR perform_animation_sequence "RAP_B_loop" from_file "LOWRIDER" 4.0 loop 1 0 0 1 -1 ms
04EF: release_animation "LOWRIDER"
0A93: end_custom_thread

:FIN_2
wait 0
00D6: if and
80E1: not key_pressed 0 11
8611: not actor $PLAYER_ACTOR performing_animation "RAP_B_loop"
004D: jump_if_false @FIN_2
0687: clear_actor $PLAYER_ACTOR task
04EF: release_animation "LOWRIDER"
0A93: end_custom_thread

// ÒÀÍÅÖ_3

:TEST_1
wait 0
00D6: if and
04EE: animation "LOWRIDER" loaded
00E1: player 0 pressed_key 0 19
004D: jump_if_false @TEST_1

:Rap_1
0605: actor $PLAYER_ACTOR perform_animation_sequence "RAP_C_loop" from_file "LOWRIDER" 4.0 loop 1 0 0 1 -1 ms
04EF: release_animation "LOWRIDER"
0A93: end_custom_thread

:FIN_3
wait 0
00D6: if and
80E1: not key_pressed 0 19
8611: not actor $PLAYER_ACTOR performing_animation "RAP_C_loop"
004D: jump_if_false @FIN_3
0687: clear_actor $PLAYER_ACTOR task
04EF: release_animation "LOWRIDER"
0A93: end_custom_thread

// ÌÓÇÛÊÀ

:TEST_R
wait 0
00D6: if and
04EE: animation "LOWRIDER" loaded
if or
00E1: key_pressed 0 10
00E1: key_pressed 0 11
00E1: key_pressed 0 19
004D: jump_if_false @TEST_R
create_thread @RADIO_0_R

:RADIO_0_R
041E: set_radio_station 0
0A93: end_custom_thread

:FIN_4
wait 0
if or
00E1: not key_pressed 0 10
00E1: not key_pressed 0 11                                 
00E1: not key_pressed 0 19
004D: jump_if_false @FIN_4
041E: set_radio_station 12

// ÎÄÅÆÄÀ

:TEST_2
wait 0
00D6: if and
04EE: animation "LOWRIDER" loaded
if or
00E1: key_pressed 0 10
00E1: key_pressed 0 11
00E1: key_pressed 0 19
004D: jump_if_false @TEST_2
create_thread @CLOTHES_0

:CLOTHES_0
wait 0
Player.SetClothes($PLAYER_CHAR, "hoodyAblack", "hoodyA", 0)   //Torso
Player.SetClothes($PLAYER_CHAR, "flattop", "flattop", 0)   //Hair
Player.SetClothes($PLAYER_CHAR, "jeansdenim", "jeans", 0)   //Legs
Player.SetClothes($PLAYER_CHAR, "skullyblk", "skullycap", 0)   //Head
player.Build($PLAYER_CHAR)
end_thread

Ничего не происходит!!!!!
Я ЧУТЬ НЕ СОШЁЛ С УМА!!!!!ПОСЛЕ ВСЕГО ЧТО Я ПИСАЛ!!!!

Board footer

Powered by FluxBB