SA-MP Forums Archive
Color Embedding - 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: Color Embedding (/showthread.php?tid=194965)



Color Embedding - willsuckformoney - 01.12.2010

Can someone tell me how to use the Color Embedding ingame and over-all use it?


Re: Color Embedding - leong124 - 01.12.2010

Just adding {FFFFFF} before some characters in the functions that support color embedding.
Note that FFFFFF is a hex color.


Re: Color Embedding - willsuckformoney - 01.12.2010

That's just red there {FFFFFF} is red. But when you go ingame and type {FFFFFF}Test it outputs (FFFFFF)Test


Re: Color Embedding - Retardedwolf - 01.12.2010

Quote:
Originally Posted by willsuckformoney
Посмотреть сообщение
That's just red there {FFFFFF} is red. But when you go ingame and type {FFFFFF}Test it outputs (FFFFFF)Test
If you want it to have the embedding in chat you will have to use a external script. ****** and TheXIII has made those scripts.


Re: Color Embedding - ihatetn931 - 02.12.2010

Quote:
Originally Posted by Retardedwolf
Посмотреть сообщение
If you want it to have the embedding in chat you will have to use a external script. ****** and TheXIII has made those scripts.
Do you have the link for this or possibly a name? I'm trying to make it so you can set the license plate color in game


Re: Color Embedding - ihatetn931 - 02.12.2010

Quote:
Originally Posted by ******
Посмотреть сообщение
https://sampforum.blast.hk/showthread.php?tid=194202

That filterscript includes a "ReColour" function - call that in OnPlayerCommandText to convert the string to contain colour strings which you can use.
Thanks for the reply