Can someone help me, I've done everything in this script to see if it worked, but when I put in the folder Cleo the game does not recognize, does not appear that the script was loaded. There are 7 other scripts and all work perfectly, only this one is not working ..
Cleo 4.1
Cleo 4.1
Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
thread "Cuff n Arrest"
:Taze_8
wait 0
if and
056D: actor $PLAYER_ACTOR defined
key_down 49
else_jump @Taze_8
0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to 0@ closest_ped_to 1@
if
056D: actor 1@ defined
else_jump @Taze_127
2@ = SAMP.GetSAMPPlayerIDByActorHandle(1@)
wait 100
0AF9: samp say_msg "/cuff %d" 2@
wait 2000
0AF9: samp say_msg "/arrest %d" 2@
wait 0
:Taze_127
wait 1000
goto @Taze_8