29.05.2009, 09:52
-The_Badger- gave an example from his or Seif's admin script. Your not supposed to just copy/paste it. Change "AdminLevel" to the variable that determines or sets the players level. If you don't have any sort of admin script or are just using RCON admin then remove that line and replace with:
Also you need to have Strtok to use that specific command format.
https://sampwiki.blast.hk/wiki/Strtok
Good luck.
pawn Код:
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,0xFF0000AA,"You need to be Admin to do that!");
{
//paste the spec stuff here
}
https://sampwiki.blast.hk/wiki/Strtok
Good luck.