Ik kan SCM scripten met mpack enzo maar ik ben weer eens begonnen te proberen in cleo, bij elk script van mij in cleo loopt het spel vast (als ik ze maak he xd)
Deze keer ook weer na de wait van 3 seconden loopt het spel vast, weet iemand wat er fout is?
CODE:
{$CLEO .cs}
//-------------MAIN---------------
wait 3000 ms
thread 'LIGHTENGINE'
03E5: show_text_box 'BEG1'
$light = 0;
$engine = 0;
:MAIN
if
Actor.Driving($PLAYER_ACTOR)
else_jump @MAIN
:KEY_PRESS_L
wait 0
if
0AB0: key_pressed 76
else_jump @KEY_PRESS_Y
jump @LIGHT
:KEY_PRESS_Y
wait 0
if
0AB0: key_pressed 89
else_jump @KEY_PRESS_L
jump @ENGINE
:LIGHT
if $light = 0
03C0: 1@ = actor $PLAYER_ACTOR car
067F: set_car 1@ lights 1
if $light = 1
03C0: 1@ = actor $PLAYER_ACTOR car
067F: set_car 1@ lights 0
jump @MAIN
:ENGINE
if $engine = 0
03C0: 1@ = actor $PLAYER_ACTOR car
081D: set_car 1@ engine_operation 1
if $engine = 1
03C0: 1@ = actor $PLAYER_ACTOR car
081D: set_car 1@ engine_operation 0
jump @MAIN
0A93: end_custom_thread
Ik kan SCM scripten met mpack enzo maar ik ben weer eens begonnen te proberen in cleo, bij elk script van mij in cleo loopt het spel vast (als ik ze maak he xd)
Deze keer ook weer na de wait van 3 seconden loopt het spel vast, weet iemand wat er fout is?
CODE:
{$CLEO .cs} //-------------MAIN--------------- wait 3000 ms thread 'LIGHTENGINE' 03E5: show_text_box 'BEG1' $light = 0; $engine = 0; :MAIN if Actor.Driving($PLAYER_ACTOR) else_jump @MAIN :KEY_PRESS_L wait 0 if 0AB0: key_pressed 76 else_jump @KEY_PRESS_Y jump @LIGHT :KEY_PRESS_Y wait 0 if 0AB0: key_pressed 89 else_jump @KEY_PRESS_L jump @ENGINE :LIGHT if $light = 0 03C0: 1@ = actor $PLAYER_ACTOR car 067F: set_car 1@ lights 1 if $light = 1 03C0: 1@ = actor $PLAYER_ACTOR car 067F: set_car 1@ lights 0 jump @MAIN :ENGINE if $engine = 0 03C0: 1@ = actor $PLAYER_ACTOR car 081D: set_car 1@ engine_operation 1 if $engine = 1 03C0: 1@ = actor $PLAYER_ACTOR car 081D: set_car 1@ engine_operation 0 jump @MAIN 0A93: end_custom_thread