Go back to default text color after using embedded color? - 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)
+--- Thread: Go back to default text color after using embedded color? (
/showthread.php?tid=448267)
Go back to default text color after using embedded color? -
101 - 03.07.2013
Is it possible to go back to the default text color after using an embedded color? I do it manually under sendclientmessages, however under 3d text it is tricky as I use more IF-conditions to declare the main color.
Re: Go back to default text color after using embedded color? -
SuperViper - 03.07.2013
http://forum.sa-mp.com/showpost.php?...postcount=1026
Use that as an example to build your own version for labels.
AW: Go back to default text color after using embedded color? -
Nero_3D - 03.07.2013
Did you test that function SuperViper ?
It seems for me that it wont work like it should, just from looking at the code
@Topic
http://forum.sa-mp.com/showpost.php?...postcount=1027
Re: Go back to default text color after using embedded color? -
SuperViper - 03.07.2013
I didn't test it, but if you see something wrong in it then you should point it out.
AW: Go back to default text color after using embedded color? -
Nero_3D - 03.07.2013
The problem is what you think valstr does, valstr just converts the number into a string
Lets say white (0xFFFFFFFF which means nothing else that -1 [in 32 bit signed]), valstr would output "-1" if you would enter 0xFFFFFFFF