I need a tutorial
#2

Use IsPlayerAdmin
e.g:

pawn Код:
CMD:respawnme(playerid,params[])
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,-1,"You must be a RCON admin to use this command");
SpawnPlayer(playerid);
return 1;
}
Sorry for the indentation - I wrote this on the forums.
Reply


Messages In This Thread
I need a tutorial - by Latisha - 16.05.2013, 11:26
Re: I need a tutorial - by zombieking - 16.05.2013, 11:27

Forum Jump:


Users browsing this thread: 2 Guest(s)