SA-MP Forums Archive
TextDrawTextSize help... - 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: TextDrawTextSize help... (/showthread.php?tid=363348)



TextDrawTextSize help... - Rokci - 27.07.2012

Hey, i need help - how do i know the TextDrawTextSize x value an y value?
P.S This is for clickable area and my TextDrawAlignment is 2.


Re: TextDrawTextSize help... - Misiur - 27.07.2012

https://sampwiki.blast.hk/wiki/TextDrawTextSize wiki tells it all. You must follow 640x480 grid (user resolution doesn't matter) and for alignment 2 x and y are swapped. Form your question more clearly if it's not about it


Re: TextDrawTextSize help... - Rokci - 27.07.2012

But what means the x value and y value?.. didnt get it...


Re: TextDrawTextSize help... - Roko_foko - 27.07.2012

coordinate system


Re: TextDrawTextSize help... - Rokci - 27.07.2012

Ok, then i have this text draw :
pawn Код:
TextDrawCreate(500.0,27.0,".");
i want to make the clickable area when you hover only the point (".")...
how do i know what is the TextDrawTextSize


Re: TextDrawTextSize help... - Rokci - 27.07.2012

....help


Re: TextDrawTextSize help... - Rokci - 27.07.2012

please..


Re: TextDrawTextSize help... - Rokci - 27.07.2012

i really must it.. please?


Re: TextDrawTextSize help... - Rokci - 27.07.2012

Help!


Re: TextDrawTextSize help... - Roko_foko - 27.07.2012

What do you actually want? I suggest you to put some random numbers, go in game and try it. if the "pressing box" is too big lower the dimensions if too small make the dimensions bigger