Clickable textdraw problem - 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: Clickable textdraw problem (
/showthread.php?tid=552505)
Clickable textdraw problem -
Ahmad45123 - 24.12.2014
Hello all.
I have a problem with a textdraw design...
I have in it a clickable textdraw which has a huge size, So that its clickable from anywhere in the screen...
However, How can I get correct X and Y for the textdraw so that it can be clicked only if mouse is above it ?
NOTE: I am using iPLEOMAX's textdraw editor...
Quote:
I tried to apply a box for the textdraw and then resize it and then remove the box... But still it doesn't work...
|
Its a normal text textdraw BTW...
Re : Clickable textdraw problem -
StreetRP - 24.12.2014
Change textsize
Re: Clickable textdraw problem -
Ahmad45123 - 24.12.2014
I know....... -_-
How can I get the correct X and Y ?
Re : Clickable textdraw problem -
StreetRP - 24.12.2014
You have to check TextDrawTextSize (by box) because that is the area wich textdraw is selectable
You have to modify 0.000000 to 5.000000 or 10.000000 and go test and test until it works.
Re: Clickable textdraw problem -
Ahmad45123 - 24.12.2014
Sh*t... Any easier way ?