Textdraw Issue (Selectable)
#3

Quote:
Originally Posted by HazardouS
Посмотреть сообщение
pawn Код:
PlayerTextDrawTextSize(playerid, PartSelP[playerid][8], 308.587310, 20.000000);
This row is generating the issue. Looking on the wiki page (https://sampwiki.blast.hk/wiki/PlayerTextDrawTextSize), you can see that this function is responsible for defining the clickable area of the text. Also, it says that if you align the text to the center (alignment 2), you should invert X and Y. In your case, making the X parameter equal to ~10 instead of 308 should fix the problem. Try different values until you find the one that fits best.
bro thanks a lot for that, have been struggling with it for hours and didn't though of that -.-
Reply


Messages In This Thread
Textdraw Issue (Selectable) - by Sascha - 02.03.2015, 10:58
Re: Textdraw Issue (Selectable) - by HazardouS - 02.03.2015, 11:20
Re: Textdraw Issue (Selectable) - by Sascha - 02.03.2015, 11:31

Forum Jump:


Users browsing this thread: 1 Guest(s)