Admin Chat
#5

Код:
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;
}
add this then in the chat line just do this
Код:
format(stringbig,sizeof(stringbig),"%s %s: {FF0000}%s",pName(playerid), GetAdminRank(playerid),User[playerid],playerid, text); 
SendClientMessageToAll(playerid,stringbig)
put them in your own order though ofcourse which ever way round you want them
Reply


Messages In This Thread
Admin Chat - by Loinal - 22.05.2016, 15:17
Re: Admin Chat - by AliBro - 22.05.2016, 15:28
Re: Admin Chat - by BornHuman - 22.05.2016, 15:28
Re: Admin Chat - by Luicy. - 22.05.2016, 15:29
Re: Admin Chat - by CSLangdale - 22.05.2016, 16:18
Re: Admin Chat - by CSLangdale - 22.05.2016, 16:20
Re: Admin Chat - by Xdrime - 23.05.2016, 12:17
Re: Admin Chat - by AjaxM - 23.05.2016, 13:01

Forum Jump:


Users browsing this thread: 3 Guest(s)