Chat command
#1

pawn Код:
new string[128];
    format(string, sizeof(string), "%s (%d): %s ", GetPlayerNameEx(playerid), playerid, params);
    SendClientMessageToAll(0xFFFF00AA,string);
    return 1;
Ok so what im trying to do is make a public chat like system where anyone can type in something any everyone can read it etc. My problem is on the SendClientMessageToAll im trying to make it so the color of the player name is the color of what ever their "SetPlayerColor" is to so like Example John_Smith's player color is blue so it will come up John Smith(in blue) (ID) (message). How would I do that
Reply


Messages In This Thread
Chat command - by ShawnMiller1337 - 13.06.2012, 21:24
Re: Chat command - by Kindred - 13.06.2012, 21:29
Re: Chat command - by Yuryfury - 13.06.2012, 21:32

Forum Jump:


Users browsing this thread: 1 Guest(s)