SA-MP Forums Archive
Color help! +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: Color help! +REP (/showthread.php?tid=332923)



Color help! +REP - TheMightyEddy - 09.04.2012

So I want to define this color: #FF28DA (It's the color pink)

how do I convert it to this format: 0x......


Re: Color help! +REP - WarriorEd22 - 09.04.2012

Here ya go:

pawn Код:
0x00FF28DA
Just add 0x00 before the hashtag sign (#) and remove the hashtag sign.


Re: Color help! +REP - Boooth - 09.04.2012

pawn Код:
0xFF28DAFF
FACK!!!!!

Quote:
Originally Posted by RAGE
This forum requires that you wait 120 seconds between posts. Please try again in 79 seconds.



Re: Color help! +REP - .FuneraL. - 09.04.2012

Color Pink Converted :
pawn Код:
0xFF00FFFF



Re: Color help! +REP - TheMightyEddy - 09.04.2012

That color now shows up as green?


Re: Color help! +REP - TheMightyEddy - 09.04.2012

Quote:
Originally Posted by .FuneraL.
Посмотреть сообщение
Color Pink Converted :
pawn Код:
0xFF00FFFF
How did you do that?


Re: Color help! +REP - .FuneraL. - 09.04.2012

My Color ?

@Edit - Color Picker Toll is the name of the program =)


Re: Color help! +REP - TheMightyEddy - 09.04.2012

Quote:
Originally Posted by .FuneraL.
Посмотреть сообщение
My Color ?

@Edit - Color Picker Toll is the name of the program =)
Thanks! but how you convert from #.... to 0x00.... ?


Re: Color help! +REP - .FuneraL. - 09.04.2012

Simply pick the color and the code ready.


Re: Color help! +REP - TheMightyEddy - 09.04.2012

Quote:
Originally Posted by .FuneraL.
Посмотреть сообщение
Simply pick the color and the code ready.
Got it. Thanks!