{$CLEO}
0000: NOP
:MAIN
wait 0
if
0AB0: 49
jf @MAIN
0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to $NOT_USED closest_ped_to 0@
if
056D: actor 0@ defined
jf @MAIN
1@ = SAMP.GetSAMPPlayerIDByActorHandle(0@)
0AF9: "/rob %d" 1@
:STOP_UNTIL_RELEASING_BUTTON
wait 0
if
8AB0: 49
jf @STOP_UNTIL_RELEASING_BUTTON
goto @MAIN
{$CLEO}
thread "id"
repeat
wait 0
until SAMP.Available()
while true
wait 0
if
0AB0: 49
then
0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to 0@ closest_ped_to 1@
if
056D: actor 1@ defined
then
2@ = SAMP.GetSAMPPlayerIDByActorHandle(1@)
0AF9: "/rob %d" 2@
end
end
end
ıllıllı 0β36 ıllıllı link said:Code:{$CLEO} thread "id" repeat wait 0 until SAMP.Available() while true wait 0 if 0AB0: 49 then 0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to 0@ closest_ped_to 1@ if 056D: actor 1@ defined then 2@ = SAMP.GetSAMPPlayerIDByActorHandle(1@) say "/rob %d" 2@ end end end
Unknown Directive say "/rob %d" 2@