22.05.2016, 16:18
Код:
stock GetAdminRank(playerid) { new arank[64]; switch(pInfo[playerid][Admin]) { case 99999: arank = "Community Owner"; case 99998: arank = "Co-Community Owner"; case 1337: arank = "Management"; case 4: arank = "Head Admin"; case 3: arank = "General Admin"; case 2: arank = "Junior Admin"; case 1: arank = "Server Moderator"; case 0: arank = "Player"; } return arank; }
Код:
format(stringbig,sizeof(stringbig),"%s %s: {FF0000}%s",pName(playerid), GetAdminRank(playerid),User[playerid],playerid, text); SendClientMessageToAll(playerid,stringbig)