SA-MP Forums Archive
URGENT - PLEASE HELP ME!!! - 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)
+--- Thread: URGENT - PLEASE HELP ME!!! (/showthread.php?tid=527806)



URGENT - PLEASE HELP ME!!! - buburuzu19 - 24.07.2014

Hi guys.
Does anyone know what is the pawno code for change only the name i mean without the TAB color , just color name ingame, not SetPlayerColor.


Re: URGENT - PLEASE HELP ME!!! - Faisal_khan - 24.07.2014

pawn Код:
SetPlayerName(playerid, name[])
https://sampwiki.blast.hk/wiki/SetPlayerName


Re: URGENT - PLEASE HELP ME!!! - buburuzu19 - 24.07.2014

My fault , not setplayername , i ment the pawn code for the COLOR NAME without changing the TAB COLOR.


Re: URGENT - PLEASE HELP ME!!! - Faisal_khan - 24.07.2014

I don't get you.


Re: URGENT - PLEASE HELP ME!!! - buburuzu19 - 24.07.2014

I mean HOW TO CHANGE THE PLAYER'S COLOR NAME WITHOUT THE WHOLE TAB COLOR , I MEAN THE NAME COLOR INGAME WHEN HE SAYS SOMETHING TO BE RED AND WHEN WE PRESS TAB THE COLOR BE WHITE


Re: URGENT - PLEASE HELP ME!!! - IceBilizard - 24.07.2014

its not possible to set player name color without changing player color


Re: URGENT - PLEASE HELP ME!!! - Stinged - 24.07.2014

pawn Код:
public OnPlayerText(playerid, text[])
{
    new str[145], pname[24];
    GetPlayerName(playerid, pname, sizeof (pname));
    format(str, sizeof (str), "{FF0000}%s: {FFFFFF}%s", pname, text); // Change the hex to the color you want.
    SendClientMessageToAll(-1, str);
    return 0;
}