How to edit player/job colours - 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: How to edit player/job colours (
/showthread.php?tid=83049)
How to edit player/job colours -
Chivava - 22.06.2009
Hello, i got something like this:
#define COLOR_RED 0xAA3333AA
But how do i edit the color to another red without getting errors ? i mean where can i find the code i need to put in ?
And how do i change the job colour because i tried to change officers colours but still the same colours
looks like this :
#define TEAM_POLICE_COLOR 0x0000EE
I want to make it navy blue
Btw, thanks for the help.
Re: How to edit player/job colours -
Grim_ - 22.06.2009
Goto
www.colorpicker.com
Pick the color shade you like, and look at the code in the box. First when you make the define, do this
The, take the code from the box, without the "#". So, it'll be six numbers. Copy and paste them ont the code we have already, so it could look like:
pawn Код:
#define COLOR_POLICE 0xEEEEEE
(( Just an example ))
Then, for the final step, add "FF" to the end of the define, and that'll be all. So it might end up like this:
pawn Код:
#define COLOR_POLICE 0xEEEEEEFF
Re: How to edit player/job colours -
Chivava - 22.06.2009
Ok thanks what about this one :
0xAA3333AA ?
do i just need to edit the AA3333 to another or ?
and what about this one ? 0x01FCFFC8
Re: How to edit player/job colours -
Grim_ - 22.06.2009
yes, just edit the AA333333 for a better shade you like.
Re: How to edit player/job colours -
Chivava - 22.06.2009
What about the 0x01FCFFC8 ?? Just edit the 01FCFFC ?? or 01FCFF ?
Re: How to edit player/job colours -
Grim_ - 22.06.2009
Just the 01FCFF .
Re: How to edit player/job colours -
Chivava - 22.06.2009
Ok, so allways leave the two last letters/numbers in the end of the code ?
btw thanks dude