Color Embedding
#1

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

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

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

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.
Reply
#5

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
Reply
#6

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)