13.04.2017, 10:41
Quote:
I need the admins can set players level 1 and level 3 to 10 and i want to disable level 0 and 2
|
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");