about OnPlayerText
#1

Код:
if(PlayerInfo[playerid][Level] >= 0)
	{
    	new String[256], ircMsg[256];
    	format(ircMsg, sizeof(ircMsg), "02[%d] 07%s: %s", playerid, pName(playerid), text);
		format(String, 256, "%s : %s", pName(playerid), text);
		SendClientMessageToAll(GetPlayerColor(playerid), String);
		IRC_GroupSay(GroupID, IRC_CHANNEL, ircMsg);
		return 0;
	}
How to make the player's chat colour to white?
Example: XYZero: hello <white

I've tried format(String, 256, "%s : {FFFFFF}%s", pName(playerid), text);
It will be XYZero: {FFFFFF}hello in game
by the way this is 3b script. Thanks
Reply


Messages In This Thread
about OnPlayerText - by XYZero - 08.11.2015, 03:53
Re: about OnPlayerText - by SalmaN97 - 08.11.2015, 03:56
Re: about OnPlayerText - by Sh4d0w2 - 08.11.2015, 04:01
Re: about OnPlayerText - by RoboN1X - 08.11.2015, 04:02
Re: about OnPlayerText - by XYZero - 08.11.2015, 04:03
Re: about OnPlayerText - by XYZero - 08.11.2015, 04:16
Re: about OnPlayerText - by Sh4d0w2 - 08.11.2015, 04:23

Forum Jump:


Users browsing this thread: 2 Guest(s)