04.01.2012, 15:40
Quote:
|
should work:
pawn Код:
|
pawn Код:
#include <a_samp>
#define COLOR_NAME "{FF0000}" //this one is red. You add here you HEX color code
#define COLOR_TEXT "{00FF00}" //this one is green which means player's text would be green. Same, chnage it with HEX color code
public OnPlayerText(playerid,text[])
{
new PlayerName[MAX_PLAYER_NAME];
GetPlayerName(playerid,PlayerName,MAX_PLAYER_NAME);
format(text,128,""COLOR_NAME"%s(%d) says: "COLOR_TEXT"%s",PlayerName,text);
SendClientMessageToAll(0x00E6E6FF,text);
return 0;
}


