I need a tutorial
#1

Hello,

How to make a cmd for rcon admin?
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)