Set admin Color green in chat log.
#4

[quote=Alex Magaсa;3502679]On Top Of Gamemode:
Код:
#define COLOR_USAGE 	0x00FF00		//{00FF00}
Код:
CMD:b(playerid, params[])
{
	if(gPlayerLogged{playerid} == 0)
	{
		SendClientMessageEx(playerid, COLOR_GREY, "You're not logged in.");
		return 1;
	}
	if(isnull(params)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /b [local ooc chat]");
	new string[128];
	format(string, sizeof(string), "{00FF00}%s: (( {FFFFFF}%s ))", GetPlayerNameEx(playerid), params);
	ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
	
	foreach(Player, i)
	{
	    if(PlayerInfo[i][pAdmin] > 1 && BigEar[i] == 2)
	    {
			new szAntiprivacy[128];
			format(szAntiprivacy, sizeof(szAntiprivacy), "(BE) {0000FF}%s: {FFFFFF}%s", GetPlayerNameEx(playerid), params);
			SendClientMessageEx(i, COLOR_GREEN, szAntiprivacy);
		}
	}
	return 1;
}
Thanks but not exactly what i was asking for.. Im more asking for like when you go off duty the green go back to white and when you get on duty it go to Dark Green.. And yours looked like this in game Jon: ((Test)) <Kinda looks bugged... I dont want it like that aha I want it like this (([12]Bob_Smith: Why did you killl Jason ?))
Reply


Messages In This Thread
Set admin Color green in chat log. - by shaquill - 26.06.2015, 21:16
Re: Set admin Color green in chat log. - by Alex Magaсa - 26.06.2015, 21:24
Re: Set admin Color green in chat log. - by baba1234 - 26.06.2015, 21:33
Re: Set admin Color green in chat log. - by shaquill - 27.06.2015, 00:20
Re: Set admin Color green in chat log. - by Alex Magaсa - 27.06.2015, 15:17
Re: Set admin Color green in chat log. - by shaquill - 29.06.2015, 00:16
Re: Set admin Color green in chat log. - by shaquill - 30.06.2015, 08:30
Re: Set admin Color green in chat log. - by Roko_foko - 30.06.2015, 08:42
Re: Set admin Color green in chat log. - by shaquill - 30.06.2015, 11:27
Re: Set admin Color green in chat log. - by shaquill - 30.06.2015, 12:34

Forum Jump:


Users browsing this thread: 2 Guest(s)