SA-MP Forums Archive
Need help about player color ! - 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 help about player color ! (/showthread.php?tid=156656)



Need help about player color ! - shabi rox - 23.06.2010

i want to known how to remove player color .Like

if cmd is /duty
{
SetPlayerColor(playerid,0x003efe00);

then again i do duty so it change to
{
No color ?


Re: Need help about player color ! - cofy1 - 23.06.2010

Use this:
Quote:

#define GREEN 0x008000FF




Re: Need help about player color ! - DJDhan - 23.06.2010

You mean "transparent" ?

Код:
SetPlayerColor(playerid,0x00000000);
EDIT: Tested, it turns out to be black.

I don't know the color code for no color.


Re: Need help about player color ! - Jofi - 23.06.2010

No Color = White?
So you make it to SetPlayerColor(playerid,0xFFFFFFAA);

Basic Color is White there is no such "No Color"
0x00000000 Wont Work it looks like Black.