SA-MP Forums Archive
[Question] To Use 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: [Question] To Use Colours] (/showthread.php?tid=194179)



[Question] To Use Colours] - zSuYaNw - 28.11.2010

Whats To Use:
pawn Код:
SendClientMessage(playerid, COLOR_WHITE,"||===================[ {0000FF}  Welcome {/0000FF} ]============||);



Re: [Question] To Use Colours] - [03]Garsino - 28.11.2010

pawn Код:
SendClientMessage(playerid, 0x00BC00FF, "{FF0000}R{009900}G{0000FF}B {FFFFFF}(RedGreenBlue)");



Re: [Question] To Use Colours] - zSuYaNw - 28.11.2010

Quote:
Originally Posted by [03]Garsino
Посмотреть сообщение
pawn Код:
SendClientMessage(playerid, 0x00BC00FF, "{FF0000}R{009900}G{0000FF}B {FFFFFF}(RedGreenBlue)");
How to use:
Код:
{COLOR} { /COLOR }
To disable color.


Re: [Question] To Use Colours] - Grim_ - 28.11.2010

You just need to start the new color. For example, Garsino's example would show "R" in the color red, "G" in the color green, "B" in the color blue, and "(RedGreenBlue)" in the color white.

This forum requires that you wait 120 seconds between posts. Please try again in 20 seconds.


Re: [Question] To Use Colours] - Shadow™ - 28.11.2010

Just use {FFFFFF} to get white again, or get the RRGGBB for your colour.


Re: [Question] To Use Colours] - zSuYaNw - 28.11.2010

Quote:

You just need to start the new color. For example, Garsino's example would show "R" in the color red, "G" in the color green, "B" in the color blue, and "(RedGreenBlue)" in the color white.

Yeah,

More, To Disable color for string.
Exemple:

SendClientMessage(playerid, Orange,"{COLOR} OkOk < The Color, {/COLOR} < disable Color");

it is understood?


Re: [Question] To Use Colours] - Grim_ - 28.11.2010

No... you don't use the {color} text {/color} format - You just start a new color.


Re: [Question] To Use Colours] - Auxxx - 28.11.2010

Is this really so hard to understand, FFS.


Re: [Question] To Use Colours] - zSuYaNw - 28.11.2010

Thanks, resolved.


Re: [Question] To Use Colours] - [MWR]Blood - 28.11.2010

You cannot disable the color, you can only start a new one.