16.04.2012, 12:06
To do this, you need to add new random colours because with default samp random colour dont work.
Than add:
If someone know how to do this with samp random colours, it will better!
Than add:
pawn Код:
public OnPlayerText( playerid, text[] )
{
new string[128], VBName[MAX_PLAYER_NAME];
GetPlayerName(playerid, VBName, MAX_PLAYER_NAME);
format(string, sizeof(string),"{%h}%s[ID:%d]:{FFFFFF} %s" ,GetPlayerColor(playerid) >>> 8, VBName,playerid,text);
SendClientMessageToAll(-1,string);
SetPlayerChatBubble(playerid, text, COLOR_WHITE, 100.0, 10000);
return 0;
}