pepsi18 Posted June 13, 2017 Posted June 13, 2017 (edited) HEL PLISS Is there any way to adapt the text size to all resolutions? local sx, sy = guiGetScreenSize() local font = dxCreateFont("font.ttf", 16) dxDrawText(playername, sx * 0.3130, sy * 0.3167, sx * 0.4484, sy * 0.3704, tocolor(255, 255, 255, 255), 1, font, "center", "center", false, false, false, false, false) Edited June 13, 2017 by pepsi18
koragg Posted June 13, 2017 Posted June 13, 2017 Make it look good on your resolution with normal numbers and then take a look at the example here: https://wiki.multitheftauto.com/wiki/GuiGetScreenSize There're better ways to achieve it but that's what I use and it works fine.
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