Reezmi Posted July 14, 2013 Posted July 14, 2013 How can i keep text on the same size on diferent resolutions? I tried this but it doesnt work dxDrawText ( "" .. weaponclip .. "/" .. weaponammo, screenX*0.107, screenY*0.169, screenX*0.977, screenY*0.987, tocolor ( 255, 255, 255, 255 ), 1.50, "arial", "right" ) On smaller res: http://i.imgur.com/xRczjJh.png?1 Higher res: http://i.imgur.com/LTgDv1G.jpg?1
Fury Posted July 14, 2013 Posted July 14, 2013 How can i keep text on the same size on diferent resolutions?I tried this but it doesnt work dxDrawText ( "" .. weaponclip .. "/" .. weaponammo, screenX*0.107, screenY*0.169, screenX*0.977, screenY*0.987, tocolor ( 255, 255, 255, 255 ), 1.50, "arial", "right" ) On smaller res: http://i.imgur.com/xRczjJh.png?1 Higher res: http://i.imgur.com/LTgDv1G.jpg?1 do not use "*". read this; viewtopic.php?f=91&t=41865&p=423999#p423999 Destruction Derby
Dealman Posted July 14, 2013 Posted July 14, 2013 Read about guiGetScreenSize and you'll see how to make it work for all resolutions. It works perfectly for DX Drawings. If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.
Reezmi Posted July 14, 2013 Author Posted July 14, 2013 position isnt the problem its the font size. It is different on different resolutions.
iMr.3a[Z]eF Posted July 14, 2013 Posted July 14, 2013 The size argument is 1.50 Change it to bigger or smaller dxDrawText ( "" .. weaponclip .. "/" .. weaponammo, screenX*0.107, screenY*0.169, screenX*0.977, screenY*0.987, tocolor ( 255, 255, 255, 255 ), 1.50, "arial", "right" ) Change it to whatever you want. Or use GUIEditor To Visit Us Press Here: mtasa://5.9.206.180:22002
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now