SA-MP Forums Archive
Help me Rep+++ - 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: Help me Rep+++ (/showthread.php?tid=334837)



Help me Rep+++ - sanjil_rijal - 16.04.2012

Please help me in the following how can i color only Community Director to color red:
Код:
else if(PlayerInfo[playerid][pAdmin] == 99999) format(szMessage, sizeof(szMessage), "[Community Director] %s: %s", GetPlayerNameEx(playerid), params);



Re: Help me Rep+++ - RollTi - 16.04.2012

pawn Код:
else if(PlayerInfo[playerid][pAdmin] > 99999)
{
    format(szMessage, sizeof(szMessage), "[Community Director] %s: %s", GetPlayerNameEx(playerid), params);
    SetPlayerColor(playerid, 0xFF0000FF); //will set player color to red
}



Re: Help me Rep+++ - sanjil_rijal - 16.04.2012

Thanks if it works anyhow reped+