Help with textdraw - 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: Help with textdraw (
/showthread.php?tid=486648)
Help with textdraw -
caoraivoso3 - 09.01.2014
well i made two textdraws with the same color (box type) on in the front of another but the color is darker. how can i make the textdraw with the normal color?
Re: Help with textdraw -
Seif- - 09.01.2014
It is darker because your box color has a transparency to it and you placed it on top of another box. You will need to set that box's alpha to 255 to remove its transparency if you don't want the overlay effect.
Re: Help with textdraw -
caoraivoso3 - 09.01.2014
Quote:
Originally Posted by Seif-
It is darker because your box color has a transparency to it and you placed it on top of another box. You will need to set that box's alpha to 255 to remove its transparency if you don't want the overlay effect.
|
how i change the box/s alpha?
what function it is?
PlayerTextDrawBoxColor?
thanks for trying to help me
Re: Help with textdraw -
Seif- - 09.01.2014
Yes, for player-textdraws. Or just TextDrawBoxColor for global textdraws. The alpha is always the last 2 hexadecimals (0xFFA200
FF). FF = 255. Some textdraw editors give you the option to set them, depending on which editor you're using(if you're using any).
Re: Help with textdraw -
caoraivoso3 - 09.01.2014
Thanks for the explanation.