SA-MP Forums Archive
Color id - 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: Color id (/showthread.php?tid=203537)



Color id - Venice - 27.12.2010

where im get playercolor id ?


Re: Color id - Sascha - 27.12.2010

to define colors use this website:
http://www.2createawebsite.com/build/hex-colors.html

and add
pawn Код:
#define 0x[COLORCODEOFTHEWEBSITE]AA
to get the player's color ingame use:
pawn Код:
new color = GetPlayerColor(playerid);



Re: Color id - Venice - 27.12.2010

Quote:
Originally Posted by Sascha
Посмотреть сообщение
to define colors use this website:
http://www.2createawebsite.com/build/hex-colors.html

and add
pawn Код:
#define 0x[COLORCODEOFTHEWEBSITE]AA
to get the player's color ingame use:
pawn Код:
new color = GetPlayerColor(playerid);
Thanks