Why when I compile .cs this error? and when i use it makes my samp crash ?, can anyone help me?
Code:
{$CLEO}
0000:
0B34: "aarrest" @COMMAND
0@ = 0
:MAIN
wait 0
if
0@ == 1
else_jump @MAIN
if and
056D: actor $PLAYER_ACTOR defined
key_down 49
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 2000
0AF9: samp say_msg "/taze %d" 2@
wait 2000
0AF9: samp say_msg "/cuff %d" 2@
wait 2000
0AF9: samp say_msg "/arrest %d" 2@
wait 500
goto @MAIN
:COMMAND
wait 0
0B12: 0@ = 0@ XOR 1
if
0@ == 0
then
print "~r~Keybinder deactivated. (0)" 1500
end
if
0@ == 1
then
print "~g~Keybinder activated. (1)" 1500
end
Samp.CmdRet
jump @MAIN