SA-MP Forums Archive
How to make is simpe admin leveling - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to make is simpe admin leveling (/showthread.php?tid=252664)



How to make is simpe admin leveling - Artix - 02.05.2011

Hi all how to make a simple admin levels


Re: How to make is simpe admin leveling - Cameltoe - 02.05.2011

Quote:
Originally Posted by Artix
Посмотреть сообщение
Hi all how to make a simple admin levels
pawn Код:
enum pInfo {
     Admin,
}
new PlayerInfo[MAX_PLAYERS][pInfo];

// To check :

if(PlayerInfo[playerid][Admin] => 3) // if the player is admin level 3 or higher.