{$CLEO}
0000:
:MAIN
wait 0
if and
056D: actor $PLAYER_ACTOR defined
key_down 99
jf @MAIN
0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to 0@ closest_ped_to 1@
if
056D: actor 1@ defined
jf @MAIN
2@ = SAMP.GetSAMPPlayerIDByActorHandle(1@)
wait 0
0AF9: samp say_msg "/rape %d" 2@
wait 0
goto @MAIN
I want to compile this script but it says unknown directive thread "key_down 99"
help to compile this ? thanks :ugbase:
0000:
:MAIN
wait 0
if and
056D: actor $PLAYER_ACTOR defined
key_down 99
jf @MAIN
0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to 0@ closest_ped_to 1@
if
056D: actor 1@ defined
jf @MAIN
2@ = SAMP.GetSAMPPlayerIDByActorHandle(1@)
wait 0
0AF9: samp say_msg "/rape %d" 2@
wait 0
goto @MAIN
I want to compile this script but it says unknown directive thread "key_down 99"
help to compile this ? thanks :ugbase: