Admin Chat
#7

Код:
	if(text[0] == '#' && pInfo[playerid][Admin] >= 1)
	{
	    format(strg, sizeof(strg), "(Admin Chat) %s: %s", GetName(playerid), text[1]);
		for(new i = 0; i < MAX_PLAYERS; i++)
		{
		    if(IsPlayerConnected(i))
		    {
		        if(pInfo[i][Admin] >= 1)
		        {
		            SendClientMessage(i, 0xFF00DD, strg);
		        }
		    }
		}
	    return 0;
	}
that's what i used for my admin chat sorry if it didnt help
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: 2 Guest(s)