SA-MP Forums Archive
need a little help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: need a little help (/showthread.php?tid=123884)



need a little help - rs2fun111 - 27.01.2010

can someone please say how i can change Player Text color ? just like in this picture:


PICTURE IS NOT BY ME ! just found it from old topic

and thanks if can someone help


Re: need a little help - MadeMan - 27.01.2010

pawn Код:
public OnPlayerText(playerid, text[])
{
    new playername[24], msg[128];
    GetPlayerName(playerid, playername, sizeof(playername));
    format(msg, sizeof(msg), "%s (%d): %s", playername, playerid, text);
    SendClientMessageToAll(COLOR, msg);
    return 0;
}
Change COLOR to whatever color you want.


Re: need a little help - rs2fun111 - 27.01.2010

Thank you it works