Label 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)
+--- Thread: Label Colors (
/showthread.php?tid=429521)
Label Colors -
DerickClark - 09.04.2013
How i do dis?
i don't wanna dis:
ACameras[CamID][LabelID] = Create3DTextLabel(TextMaxSpeed, 0x008080FF, x, y, z + 0.75, 100.0, 0, 0);
i wanna dis:
ACameras[CamID][LabelID] = Create3DTextLabel(TextMaxSpeed,x, y, z + 0.75, 100.0, 0, 0);
i get a error:
Re: Label Colors -
Shockey HD - 09.04.2013
Follow the syntax.
Why would you not want it there?
Re: Label Colors -
DerickClark - 09.04.2013
i got dis color.
Код:
format(TextMaxSpeed, sizeof(TextMaxSpeed), "{FFFF00}%s {FF0000}%i", TXT_MaxSpeedCamera, MaxSpeed);
Re: Label Colors -
iJumbo - 09.04.2013
There will be no problems by adding 0x008080FF in the code the color embleed tag will replace it
Re: Label Colors -
DerickClark - 09.04.2013
if i pick a new color
Old Color:
Give me 120
New Color:
Give me
12
i wanna the new color to be
120.
Re: Label Colors -
iJumbo - 09.04.2013
What you mean?
Re: Label Colors -
DerickClark - 09.04.2013
Old one:
dis one give me 120
i wanna the new one be 120

New one:
it give me 12

i wanna the new color give me 120
Re: Label Colors -
iJumbo - 09.04.2013
Colors does not give values... the value come from %i and MaxSpeed
Re: Label Colors -
DerickClark - 09.04.2013
How to make the new color 120>?
Re: Label Colors -
iJumbo - 09.04.2013
D: look at my post look where MaxSpeed are defined or loaded D: