12.04.2016, 14:38
Guided:
No idea where to put this?
Put it before these lines
All the best
Код:
if(pInfo[playerid][Admin] == 5 && AdminLevel > 5) // if the player is level 5 and he's trying to set above his level { SendClientMessage(playerid, COLOR_RED, "You can't the player's level above your level!"); // warns the admin if he does that } if(pInfo[playerid][Admin] == 6 && AdminLevel > 6) // if the player is level 6 and he's trying to set above his level { SendClientMessage(playerid, COLOR_RED, "You can't the player's level above your level!"); // same } if(pInfo[playerid][Admin] == 7 && AdminLevel > 7) // if the player is level 7 and he's trying to set above his level { SendClientMessage(playerid, COLOR_RED, "You can't the player's level above your level!"); // same }
Put it before these lines
Код:
new tname[MAX_PLAYER_NAME], pname[MAX_PLAYER_NAME] ;