21.08.2010, 16:54
Hi guys I need help in /n I make following cmds . But If i am admin lvl > 1 it shows my /n tag as [player] but i explain [Administrator] ? WTF .
Код:
if (PlayerInfo[playerid][pConnectSeconds] >= 0 && PlayerInfo[playerid][pConnectSeconds] <= 90000) { format(string, sizeof(string), "[Newbie] %s: %s", sendername, result); } else if (PlayerInfo[playerid][pConnectSeconds] > 90000) { format(string, sizeof(string), "[Player] %s: %s", sendername, result); } else if(PlayerInfo[playerid][pHelper] == 1 || PlayerInfo[playerid][pConnectSeconds] >= 0) { format(string, sizeof(string), "[Helper] %s: %s", sendername, result); } else if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pConnectSeconds] >= 0) { format(string, sizeof(string), "[Administrator] %s: %s", sendername, result); }