25.03.2010, 19:51
This may sound complex, for you being new and all.
Create an array (which will store the player's admin level), save it upon login/logoff (you should create some kind of password protector for this) and load it upon login and unload it upon logoff.
Then, for your ban command it's simple. You'll be able to use a simple 1 line if statement to detect their admin level, for example:
Then you just have to execute the Ban() function.
Create an array (which will store the player's admin level), save it upon login/logoff (you should create some kind of password protector for this) and load it upon login and unload it upon logoff.
Then, for your ban command it's simple. You'll be able to use a simple 1 line if statement to detect their admin level, for example:
pawn Код:
if( AdminLevel[playerid] == 69 )