19.07.2014, 23:22
Quote:
Your problem comes from the fact that this code pawn Code: else if(PlayerInfo[playerid][pAdmin] >= 999999) { new string[128]; format(string, sizeof(string), "(( Server Owner %s: %s ))", GetPlayerNameEx(playerid), params); OOCOff(COLOR_OOC,string); } will never be read if you are an administrator, because if you are, this one pawn Code: else if(PlayerInfo[playerid][pAdmin] >= 2) { new string[128]; format(string, sizeof(string), "(( Administrator %s Level %i: %s ))", GetPlayerNameEx(playerid), AdminRank params); OOCOff(COLOR_OOC,string); } will be considered as "true" before. To fix it, replace your condition for admin level 2+ by this one : pawn Code: if(2 <= PlayerInfo[playerid][pAdmin] < 99999) |