27.01.2012, 13:42
First thing, don't give RCON to other admins...
Use an admin level array for checks and make a SetAdminLevel command.
for tazer check for nearest player if no ID is provided and use TogglePlayerControllable on him
Arrest just tele given ID them to jail and do whatever else your script requires
Set wanted you can use GTA's built-in wanted function for levels of 0-6 using SetPlayerWantedLevel
for radio loop through all players checking if they are cop. if they are, send a message, if not, dont.
Use an admin level array for checks and make a SetAdminLevel command.
for tazer check for nearest player if no ID is provided and use TogglePlayerControllable on him
Arrest just tele given ID them to jail and do whatever else your script requires
Set wanted you can use GTA's built-in wanted function for levels of 0-6 using SetPlayerWantedLevel
for radio loop through all players checking if they are cop. if they are, send a message, if not, dont.