Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if((newkeys == KEY_SUBMISSION) && isLEO(playerid))
- {
- foreach(new i : Player)
- {
- new msg[100];
- if(GetDistanceBetweenPlayers(playerid, i) < 7.0 && Player[i][playerWanted] <= 5 && Player[i][playerWanted] >= 1) return SendClientMessage ( playerid, -1, "No suspect" );
- {
- format(msg, 100, "/ticket %d", i);
- return CallLocalFunction("OnPlayerCommandText", "ds", playerid, msg);
- }
- if(GetDistanceBetweenPlayers(playerid, i) < 7.0 && Player[i][playerWanted] >= 6) return SendClientMessage ( playerid, -1, "No suspect" );
- {
- format(msg, 100, "/arrest %d", i);
- return CallLocalFunction("OnPlayerCommandText", "ds", playerid, msg);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment