Question.
#3

Yes, that is possible, example code shown below

pawn Код:
CMD:acmds( playerid, params[ ] )
{
    if(adminlevel >= 1) SendClientMessage(playerid, -1, "adminlevel 1");
    if(adminlevel >= 2) SendClientMessage(playerid, -1, "adminlevel 2");
    if(adminlevel >= 3) SendClientMessage(playerid, -1, "adminlevel 3");
    return true;
}
NOTE: Operator >= means larger or equal than the value.

EDIT: Too late, I was writing the meaning of the Operator
Reply


Messages In This Thread
Question. - by Kyance - 14.12.2013, 18:36
Re: Question. - by Zamora - 14.12.2013, 18:50
Re: Question. - by Patrick - 14.12.2013, 18:51
Re: Question. - by Kyance - 14.12.2013, 18:52

Forum Jump:


Users browsing this thread: 1 Guest(s)