SA-MP Forums Archive
[Tutorial] [TUT] How to create your own 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)
+---- Forum: Tutorials (https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] [TUT] How to create your own colors! (/showthread.php?tid=402898)



[TUT] How to create your own colors! - dr.lozer - 28.12.2012

Hi, Today i found a way to make a 0x Colors!

Frist you need a photoshop or something else software to get the color formula!

Ok i use Photoshop now goto the color options in here:



Now Choose Color in "1" in the picture
and copy the color formula in "2" in the picture

Picture:


Now Define the formula in your .pwn

like this:

Код:
#define My_Color 0xFormulaAA
what is AA or 00 after Furmula ?
AA and 00 is a value of visibility of that color (not good in english :P )
Example:

===> 00:

=[0xFormula00]===[0xFormula11]====[0xFormula22]===[0xFormula33]====[0xFormula44]
if you use number after Formula then remember that you cant use the number more then 9
Example:
pawn Код:
0xFormula1010 // BAD!
0xFormula99 // GOOD!
if you want more then 9 to use then use AA
===> AA:

=[0xFormulaAA]===[0xFormulaBB]
you cant use the AA more then F
Example:
pawn Код:
0xFormulaGG // BAD!
oxFormulaFF // GOOD!
ENJOY!

Sry 4 My Bad english


Re: [TUT] How to create your own colors! - zohartrejx - 28.12.2012

Nice Tutorial !


Re: [TUT] How to create your own colors! - dr.lozer - 28.12.2012

Quote:
Originally Posted by zohartrejx
Посмотреть сообщение
Nice Tutorial !
Thanks


Re: [TUT] How to create your own colors! - Rillo - 28.12.2012

Nice tutorial for newbies. But you don't have to open up Photoshop to get the colors, just ****** something like color codes and it will come up.

Nice work though


Re: [TUT] How to create your own colors! - dr.lozer - 29.12.2012

Ty

But i say use photoshop coz we can choose different type of colors

Heavy
Light xD


Re: [TUT] How to create your own colors! - Dragonborn - 29.12.2012

Well, have programs on this forum that can pick the color than easy, but, it's also are a good way.


Re: [TUT] How to create your own colors! - dr.lozer - 30.12.2012

yeah


AW: [TUT] How to create your own colors! - Skimmer - 30.12.2012

Also explain what that AA end of the color code means.
It's the color transparency. Click on the link https://sampwiki.blast.hk/wiki/Colors_List
and scroll down to Alpha values (transparency) and see what it means.


Re: AW: [TUT] How to create your own colors! - dr.lozer - 30.12.2012

Quote:
Originally Posted by MouseBreaker
Посмотреть сообщение
Also explain what that AA end of the color code means.
It's the color transparency. Click on the link https://sampwiki.blast.hk/wiki/Colors_List
and scroll down to Alpha values (transparency) and see what it means.
Done and Thanks


Re: [TUT] How to create your own colors! - rockerman - 08.02.2013

Cool Good


Re: [TUT] How to create your own colors! - seanny - 12.02.2013

Delete, did not read properly xD.