(HELP) admin levels - 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: (HELP) admin levels (
/showthread.php?tid=218286)
(HELP) admin levels -
Amine_Mejrhirrou - 29.01.2011
can somme one show me who can i add admin LV (3levels) on my game mod caus i have no idea for that
Re: (HELP) admin levels -
Vince - 29.01.2011
1. Click on this link:
http://forum.sa-mp.com/search.php
2. In the first field, type: admin levels
3. Click on the button named 'Search'
Re: (HELP) admin levels -
Mean - 29.01.2011
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");
Re: (HELP) admin levels -
Hal - 29.01.2011
Quote:
Originally Posted by Mean
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!
Re: (HELP) admin levels -
Mean - 29.01.2011
Quote:
Originally Posted by Hal
@Mean. Hey! You aren't mean at all!
|
:PP !