SA-MP Forums Archive
Set level - 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: Set level (/showthread.php?tid=190100)



Set level - Kitten - 14.11.2010

Solved


Re: Set level - iggy1 - 14.11.2010

pawn Код:
if(PlayerInfo[playerid][pAdminLevel] != 1) return 0;
EDIT: Also you might wana make the command for other levels ie,
pawn Код:
if(PlayerInfo[playerid][pAdminLevel] < 1) return 0;
so it will return "unknown command" to anyone below level 1.


Re: Set level - [L3th4l] - 14.11.2010

Also, use 'i' or 'd' for a digit, what does 'c' do?


Re: Set level - Lorenc_ - 14.11.2010

'c' = Character