SA-MP Forums Archive
Draw a rectangle - 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: Draw a rectangle (/showthread.php?tid=646378)



Draw a rectangle - POL_george - 16.12.2017

Hi! I want to make a login system that looks unique, and in the past I saw a lot of resource with textdraw(phone, menu with buttons, etc) who were what I'm looking for, right now.

All I've found out is how to draw text who I knew already

Maybe I'm not clear enough, I will try to make my question more clear:
How do I draw on a specific player's HUD, a rectangle, who also is interactive?


Re: Draw a rectangle - RogueDrifter - 16.12.2017

Selectable TextDraws visit : Tutorial for clickable textdraws by hiddos


Re: Draw a rectangle - POL_george - 16.12.2017

Oh, thanks!!!


Re: Draw a rectangle - POL_george - 16.12.2017

In past I used opengl, and I'm to used to make a function like drawrect (int x, int y, int xoff, int yoff), well, here if I initialize a textdraw, make an empty text, and set it size on x and y like I would do with offsets?

I don't want any tool, I like the classic way, to understand how it works!