SA-MP Forums Archive
Nickname colour changing - 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: Nickname colour changing (/showthread.php?tid=457161)



Nickname colour changing - martoivanov - 09.08.2013

I don't want to change the player's name colour but how to do it in this script:
pawn Код:
if(IsPlayerAdmin(playerid))
    {
    new pName[MAX_PLAYER_NAME], String[128];
    GetPlayerName(playerid, pName, 24);
    format(String, sizeof(String), "{33CC00}[{FFFFFF}OWNER{33CC00}]{FF0000}%s{FFFFFF} :(%i) %s", pName, playerid, text);
    SendClientMessageToAll(COLOR_WHITE,String);
    return 0;
    }