SA-MP Forums Archive
How to change Faction colors? - 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: How to change Faction colors? (/showthread.php?tid=468034)



How to change Faction colors? - DouglasRamirez - 06.10.2013

Hello guys,

I would like to ask on how to change faction color like the players COLOR ID. I would like change the color of NOOSE from NG:RP edit color to black. But how?


Re: How to change Faction colors? - SilentSoul - 06.10.2013

https://sampwiki.blast.hk/wiki/SetPlayerColor
if you want to make the black color for all players
Код:
public OnPlayerConnect
add this
pawn Код:
SetPlayerColor(playerid, 0x000000FF);
For more colors use : http://www.colorpicker.com/
Add 0x at beganing and FF at last of code for example
Код:
Red color in color picker = FF0000 // change to 0xFF0000FF



Re: How to change Faction colors? - CesarLT - 06.10.2013

Search the top of your scipt for something like that:

pawn Код:
#define NOOSE   0xFFFFFFFF
and edit the color to the color of your choise.


Re: How to change Faction colors? - DouglasRamirez - 06.10.2013

I mean, the current color of NOOSE is Red, I wanna change it to black


Re: How to change Faction colors? - SilentSoul - 06.10.2013

Quote:
Originally Posted by DouglasRamirez
Посмотреть сообщение
I mean, the current color of NOOSE is Red, I wanna change it to black
Scrol up , i answered you.