(HELP) admin levels
#4

Quote:
Originally Posted by Mean
Посмотреть сообщение
pawn Код:
new level[playerid];
Somewhere you put
pawn Код:
level[playerid] = 1; // replace 1 with the level you want
And detecting if player is desired level:
pawn Код:
if(level[playerid] < 1) // change 1 to the level you want command to be usable at
    return SendClientMessage(playerid, 0xAAAAAA, "You need to be level 1+ to use this command");
You will have to have the variable load with your registration system.


@Mean. Hey! You aren't mean at all!
Reply


Messages In This Thread
(HELP) admin levels - by Amine_Mejrhirrou - 29.01.2011, 22:13
Re: (HELP) admin levels - by Vince - 29.01.2011, 22:20
Re: (HELP) admin levels - by Mean - 29.01.2011, 23:41
Re: (HELP) admin levels - by Hal - 29.01.2011, 23:43
Re: (HELP) admin levels - by Mean - 29.01.2011, 23:51

Forum Jump:


Users browsing this thread: 1 Guest(s)