Making it work both Admins and Rcon Admins
#7

pawn Код:
if(pData[playerid][Admin] >= 4 || IsPlayerAdmin(playerid))
{
    //will work if the player is more than or equal to lvl 4 OR Rcon admin
}
else
{
    SendClientMessage(playerid, COLOR_RED, "*** You are not Head Administrator ***");
}
EDIT: If that doesn't work then your var isn't holding the correct value. And the player isn't rcon.
Reply


Messages In This Thread
Making it work both Admins and Rcon Admins - by JaKe Elite - 31.05.2012, 11:49
Re: Making it work both Admins and Rcon Admins - by iggy1 - 31.05.2012, 12:18
Re: Making it work both Admins and Rcon Admins - by JaKe Elite - 31.05.2012, 12:21
Re: Making it work both Admins and Rcon Admins - by iggy1 - 31.05.2012, 12:24
Re: Making it work both Admins and Rcon Admins - by Laronic - 31.05.2012, 12:26
Re: Making it work both Admins and Rcon Admins - by JaKe Elite - 31.05.2012, 12:30
Re: Making it work both Admins and Rcon Admins - by iggy1 - 31.05.2012, 12:33
Re: Making it work both Admins and Rcon Admins - by JaKe Elite - 31.05.2012, 12:57

Forum Jump:


Users browsing this thread: 1 Guest(s)