0.3.7 R1, if is same for you do in .lua, if not cleo can be good too.OK. SA:MP Version?
Idk, when you can see the name of player.No. Nearest dist? 5m, 10m, 50m?
When i type /.arrest it's not happening anything/.arrest
[ML] (error) auto arrest.lua: ...m Files (x86)\Gta San Andreas\moonloader\auto arrest.lua:19: unexpected symbol near ')'/.arrest - enable/disable
press 2 - auto-cmd "/arrest <nearest player id>"
Fixed the error, but when I press 2, nothing is happening.[ML] (error) auto arrest.lua: ...m Files (x86)\Gta San Andreas\moonloader\auto arrest.lua:19: unexpected symbol near ')'
[ML] (error) auto arrest.lua: Script died due to an error. (01DC1714)
This come in sf console
{$CLEO .cs}
{$USE bitwise}
0000:
WHILE TRUE
WAIT 0
IF 0ADC: test_cheat "2"
THEN
IF 0256: player $PLAYER_CHAR defined
THEN
IF 0AB1: @GetClosestPeds 0 0@
THEN
IF 0AB1: @SAMPGetPlayerIDByActorHandle 1 _ActorHandle 0@ _StorePlayerID 1@
THEN
0AC8: 2@ = allocate_memory_size 260
0AD3: 2@ = format "/arrest %d" 1@
0AB1: @SEND_CMD 2 SampVersionID 1 Text 2@
0AD1: show_formatted_text_highpriority "~y~%s" time 1337 2@
0AC9: free_allocated_memory 2@
END
ELSE 0AD1: show_formatted_text_highpriority "~r~Player not found ~n~> 5 m" time 1337
END
END
END
END
0A93: terminate_this_custom_script
Can you explain me how can I edit myself.Press 3.
on 5m dist. /chase <nearest id>
What you edit for the distance?Sanny builder +