How to set TextSize correctly? - 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: How to set TextSize correctly? (
/showthread.php?tid=632666)
How to set TextSize correctly? -
DuyDang2412 - 17.04.2017
Hello guys, I made a textdraw like this:
http://imgur.com/6Ah2967
Look at the preview model textdraw, you will see.
The problem is I don't know how to set clickable area, please help me.
Re: How to set TextSize correctly? -
StrikerZ - 17.04.2017
The link's broken.
Re: How to set TextSize correctly? -
JustNothing - 17.04.2017
link not working...
Re: How to set TextSize correctly? -
DuyDang2412 - 17.04.2017
Re-uploaded the image, please take a look.
Re: How to set TextSize correctly? -
JustNothing - 17.04.2017
models will work you need just do it selectable (
https://sampwiki.blast.hk/wiki/TextDrawSetSelectable)
and when you showing it use (
https://sampwiki.blast.hk/wiki/SelectTextDraw)
Re: How to set TextSize correctly? -
DuyDang2412 - 17.04.2017
Quote:
Originally Posted by JustNothing
|
No, I'm talking about the clickable area. Of course, I have made it selectable before, but the problem is I can select two textdraws at the same time like the screenshot I posted.
It may be hard to understand because my English is not good enough to describe it well, sorry.
Re: How to set TextSize correctly? -
JustNothing - 17.04.2017
Quote:
Originally Posted by DuyDang2412
No, I'm talking about the clickable area. Of course, I have made it selectable before, but the problem is I can select two textdraws at the same time like the screenshot I posted.
It may be hard to understand because my English is not good enough to describe it well, sorry.
|
oh,
wiki say:
Код HTML:
Additional special conditions apply: If textdraw font is model preview (TEXT_DRAW_FONT_MODEL_PREVIEW) then x,y are exact WIDTH and HEIGHT and not right/bottom corners of textdraw
btw i have tried change textdraw(model prev.) textsize and selectable area not changed i think you need change your textdraw.