11.02.2013, 23:54
Replace
with
I'd also add this toward the top:
pawn Код:
if(levels == 0)
pawn Код:
if(levels < PlayerData[ID][AdminLevel]) // Their new level is LESS THAN their CURRENT level (= demoted)
pawn Код:
if(PlayerData[ID][AdminLevel] == levels) return SendClientMessage(playerid, RED, "ERROR: Player is already that level.");