#2

To do this, you need to add new random colours because with default samp random colour dont work.

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;
}
If someone know how to do this with samp random colours, it will better!
Reply


Messages In This Thread
help - by [M.A]Angel[M.A] - 16.04.2012, 12:02
Re: help - by ]Rafaellos[ - 16.04.2012, 12:06
Re: help - by RollTi - 16.04.2012, 12:07
Re: help - by [M.A]Angel[M.A] - 16.04.2012, 12:08
Re: help - by ]Rafaellos[ - 16.04.2012, 12:09
Re: help - by [M.A]Angel[M.A] - 16.04.2012, 12:11
Re: help - by ]Rafaellos[ - 16.04.2012, 12:11
Re: help - by [M.A]Angel[M.A] - 16.04.2012, 12:21
Re: help - by [M.A]Angel[M.A] - 16.04.2012, 13:12
Re: help - by ]Rafaellos[ - 16.04.2012, 15:46

Forum Jump:


Users browsing this thread: 1 Guest(s)