SA-MP Forums Archive
[Tutorial] [0.3c] - Easy 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] [0.3c] - Easy colors! (/showthread.php?tid=196360)

Pages: 1 2


Re: [0.3c] - Easy colors! - hab2ever - 24.12.2010

Great TUT. i like it.


Re: [0.3c] - Easy colors! - Hiitch - 24.12.2010

Thank you for publishing this topic, I've been trying to find something like this since I din't understand the whole concept of applying it to the SendClientMessage, or whatever.

Greets.


Re: [0.3c] - Easy colors! - Mean - 25.12.2010

SEXY. ( . Y . )

But this is just for SCM, embedding.


Re: [0.3c] - Easy colors! - SpriTe - 26.12.2010

Nice man


Re: [0.3c] - Easy colors! - ToPhrESH - 26.12.2010

Not sure if this is a tutorial butthanks for da defines!


Re: [0.3c] - Easy colors! - Farid - 27.12.2010

Really good

Thanks i will use this


Re: [0.3c] - Easy colors! - MrDeath537 - 28.12.2010

Nice, I'm using it in I-RP



Quote:
Originally Posted by Finn
View Post
You don't really need the #.

pawn Code:
#define WHITE           "{FFFFFF}"
#define RED             "{FF0000}"
#define BLUE            "{0000FF}"
#define GREEN           "{00FF00}"
#define BLACK           "{000000}"
pawn Code:
SendClientMessage(playerid, 0xFFFFFFFF, ""BLACK" BLACK TEXT "WHITE" WHITE TEXT "RED" RED TEXT "BLUE" BLUE TEXT "GREEN" GREEN TEXT");
That's what I was going to post when I read the first post in thread xD


Re: [0.3c] - Easy colors! - Zh3r0 - 06.01.2011

Quote:
Originally Posted by Mean
View Post
SEXY. ( . Y . )

But this is just for SCM, embedding.
Nope, works on chat, dialogs and 3d text labels. Doesn't work in dialog buttons.


Re: [0.3c] - Easy colors! - sleepysnowflake - 12.01.2011

How do i use this in a string ?


Re: [0.3c] - Easy colors! - Unknown1234 - 12.01.2011

new string[36];
format(string,sizeof(string),""#COL_RED"Red is most hottest color!");
like that, lol.


Re: [0.3c] - Easy colors! - [M.A]Angel[M.A] - 01.02.2011

Thank you best.


Re: [0.3c] - Easy colors! - Zh3r0 - 01.02.2011

Quote:
Originally Posted by Unknown1234
View Post
new string[36];
format(string,sizeof(string),""#COL_RED"Red is most hottest color!");
like that, lol.
There is nothing to format :O


Respuesta: [0.3c] - Easy colors! - [Nikk] - 07.01.2012

nice but, using HTLM in SendClientMessage, is more easy, and faster....

pawn Code:
SendClientMessage(playerid, 0xFFFFFF, "This is {FF0000}Red!, {FFFFFF} and this is {00FF00}Green!");