TextDrawTextSize differs on lower resolutions. Messing up clickable textdraw area.
#1

Resolution is seriously the most annoying thing in SA:MP/GTA. Something looks fine for my resoloution, then I switch to another and it's all fucked up. I know it's nobody's 'fault', but it presents a major problem when using clickable textdraws.

Here are some textdraws I created, with graphics to represent the clickable areas:


As you can see, on my normal resolution (left) the clickable area is the entire box, however the one on the right (800x600) is barely even half..

Can this be fixed?

I should also point out there are two textdraws per box, the box and the text. The TEXT is what is selectable, not the box textdraw.
Reply
#2

Have you tried relogging after changing resolutions?
Reply
#3

Yes. I've tried three screens and about 10 resolutions, and they all differ.
Reply
#4

Wow you have a pretty large screen :O

BTW, I think you should just make textdraws in the most default size, 1024x768 or the one just higher than that.

Honestly, I don't think anything can be done about this unless Kalcor adds GetPlayerResolution(playerid, resolution[]);
Reply
#5

Quote:
Originally Posted by Kar
View Post
Wow you have a pretty large screen :O

BTW, I think you should just make textdraws in the most default size, 1024x768 or the one just higher than that.

Honestly, I don't think anything can be done about this unless Kalcor adds GetPlayerResolution(playerid, resolution[]);
pawn Code:
native GetPlayerResolution( playerid, &width, &height );
Reply
#6

I don't really know if this is a problem with 0.3e, or if it's unavoidable. Would really like it fixed though.


Quote:
Originally Posted by Kar
View Post
Wow you have a pretty large screen :O
27 inch iMac innit
Reply
#7

Same issue.

Reply
#8

+1 for get player resolution, it can also be used to force players to play on a lower resolution (e.g: 3 FPS players playing at 1980 x 1080, is lame, especially in a DM server where they will be unhittable)
Reply
#9

Quote:
Originally Posted by Corello2010
View Post
You're just doing it plain wrong.

Textdraws on different resolutions tend to bug up a lot, would be nice to see this fixed - if actually possible.
Reply
#10

Yeah I can't image how annoying that would be to use..
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)