Little indent problem
#8

You wan't still to use IsPlayerAdmin(playerid), yes?

You won't player [pHelper] and [pAdmin] with level 2 or greater use this command. Change >= to <= if you wan't to let players with greater levels or 2 use this.

pawn Код:
if(!IsPlayerAdmin(playerid) || PlayerInfo[playerid][pAdmin] < 2 || PlayerInfo[playerid][pHelper] < 2)
{
    SendClientMessage(playerid, 0xFF4646FF, "You are not authorized to use that command !");
    return true;
}
Reply


Messages In This Thread
Little indent problem - by kingchandio - 05.08.2011, 11:41
Re: Little indent problem - by Riddick94 - 05.08.2011, 11:43
Re: Little indent problem - by kingchandio - 05.08.2011, 11:45
Re: Little indent problem - by Riddick94 - 05.08.2011, 11:51
Re: Little indent problem - by kingchandio - 05.08.2011, 11:54
Re: Little indent problem - by Riddick94 - 05.08.2011, 11:56
Re: Little indent problem - by kingchandio - 05.08.2011, 12:39
Re: Little indent problem - by Riddick94 - 05.08.2011, 12:43
Re: Little indent problem - by kingchandio - 05.08.2011, 18:49
Re: Little indent problem - by WoodPecker - 05.08.2011, 18:59

Forum Jump:


Users browsing this thread: 4 Guest(s)