SA-MP Forums Archive
Textdraw quick question - 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: Textdraw quick question (/showthread.php?tid=179764)



[SOLVED] Textdraw quick question - Celson - 28.09.2010

I'm using text draws to attempt to make a cut scene look with the screen. How do I set the colour to completely black?

Atm I've used this code...

TextDrawBoxColor(cutscene,0xFFFFFFFF);

I get the feeling it's suppose to be the opposite of what I got there?


Re: Textdraw quick question - Mauzen - 28.09.2010

0xFFFFFFFF
->
0xRRGGBBAA

Your color is white, if you want black, set all to 0, except the alpha

0x000000FF

EDIT: http://en.wikipedia.org/wiki/RGB_color_model


Re: Textdraw quick question - Rachael - 28.09.2010

There is a good tutorial here
http://forum.sa-mp.com/showthread.ph...tdraw+tutorial


Re: Textdraw quick question - Celson - 28.09.2010

Ahh thanks guys.

I appear to be having another problem. I've everything that needed be set for the top text draw, but I can't get another textdraw for the bottom side of the screen. I had assumed if I just simply set the Y it would go down, apprently not. Any ideas?


Re: Textdraw quick question - Celson - 28.09.2010

Problem Solved