setlevel
#7

Quote:
Originally Posted by Loinal
Посмотреть сообщение
I need the admins can set players level 1 and level 3 to 10 and i want to disable level 0 and 2
The code that GanstaSunny posted it's exactly you said

If level is < 1 means 0,-1,-2,....,-infinite or
If level == 2 means it's equal to 2 or
If level > 10 means it's bigger than 10
If one of this condition it's true, then return a SendClientMessage that's say "You can set admin level smaller than 1, equal to 2 , or greater than 10"

Код:
if(level < 1 || level == 2 || level > 10)return SendClientMessage(playerid,-1, "You can set admin level smaller than 1, equal to 2 , or greater than 10");
Reply


Messages In This Thread
setlevel - by Loinal - 13.04.2017, 09:59
Re: setlevel - by NealPeteros - 13.04.2017, 10:15
Re: setlevel - by Loinal - 13.04.2017, 10:19
Re: setlevel - by StrikerZ - 13.04.2017, 10:27
Re: setlevel - by GangstaSunny. - 13.04.2017, 10:28
Re: setlevel - by Loinal - 13.04.2017, 10:34
Re: setlevel - by Banditul18 - 13.04.2017, 10:41
Re: setlevel - by Loinal - 13.04.2017, 10:46
Re: setlevel - by StrikerZ - 13.04.2017, 10:49
Re: setlevel - by Loinal - 13.04.2017, 10:53

Forum Jump:


Users browsing this thread: 3 Guest(s)