16.08.2010, 23:07
Код:
GetPlayerName(playerid, sendername, sizeof(sendername)); new atext[60]; if(PlayerInfo[playerid][pAdmin] == 1){ atext = "Moderator/Trail Admin(1)"; } if(PlayerInfo[playerid][pAdmin] == 2){ atext = "Junior Admin(2)"; } if(PlayerInfo[playerid][pAdmin] == 3){ atext = "General Admin(3)"; } if(PlayerInfo[playerid][pAdmin] == 4){ atext = "Head Admin(4)"; } if(PlayerInfo[playerid][pAdmin] == 1337){ atext = "Elite Admin(1337)"; } if(PlayerInfo[playerid][pAdmin] == 1337) { atext = "Server Scripter(1337)"; } if(PlayerInfo[playerid][pAdmin] == 1338) { atext = "Server Owner(1338)"; } format(string, sizeof(string), "%s %s: %s", atext, sendername, result);