22.07.2014, 11:08
I had this problem before , got mad of it , So look the solution is using TextDrawTextSize to set the text size not letter size
To stop the textdraw from expanding it's Textsize, Use TextDrawTextSize
I see that every option in the menu has the same size as the other , so
Make a limit for X & Y
maybe? ..:
if not hovering , try to increase them, if hovering much more(same problem) , decrease them
180.00000 = X in 2D Left - Right
20.0000 = Y in 2D Up - Down
when you target at the textdraw from up to down or down to up and it only hovered the targeted text (one text) , It works with Y then no need to change it, and when you target it from right to left or left to right and hovered only the text, then everything is fine,
TextDrawTextSize do it for all texts
More info: https://sampwiki.blast.hk/wiki/TextDrawTextSize
To stop the textdraw from expanding it's Textsize, Use TextDrawTextSize
I see that every option in the menu has the same size as the other , so
Make a limit for X & Y
maybe? ..:
pawn Код:
TextDrawTextSize( Yourtextdrawid, 180.00000, 20.0000);
180.00000 = X in 2D Left - Right
20.0000 = Y in 2D Up - Down
when you target at the textdraw from up to down or down to up and it only hovered the targeted text (one text) , It works with Y then no need to change it, and when you target it from right to left or left to right and hovered only the text, then everything is fine,
TextDrawTextSize do it for all texts
More info: https://sampwiki.blast.hk/wiki/TextDrawTextSize