Idioticrioter Posted December 18, 2016 Share Posted December 18, 2016 Spoiler dxDrawText("Accept", 505.0*sx, 519.0*sy, 76.0*sy, 37.0*sx, coloracc, 1.00*sx, newFont, "left", "top", false, false, false, false, false) dxDrawRectangle(sx*505, sy*519, sx*76, sy*37, tocolor(0, 0, 0, 0), false) dxDrawText("decline", sx*710.0, sy*519.0, sx*76.0, sy*37.0, colordec, 1.00*sx, newFont, "left", "top", false, false, false, false, false) dxDrawRectangle(sx*710.0, sy*519.0, sx*76.0, sy*37.0, tocolor(0, 0, 0, 0), false) http://imgur.com/a/8TGf5 Well, this happening in my screen, but if some players had screen highter then mine, they cant see the buttons (iam almost cant see it too cuz of my big resolution) In my other computer theres a lower resolution so it works perfectly. So how can i fix it for all resolutions? thanks. Link to comment
BEN. Posted December 18, 2016 Share Posted December 18, 2016 https://wiki.multitheftauto.com/wiki/GuiGetScreenSize Link to comment
Idioticrioter Posted December 18, 2016 Author Share Posted December 18, 2016 Should the image be on center? Link to comment
koragg Posted December 18, 2016 Share Posted December 18, 2016 51 minutes ago, Idioticrioter said: Should the image be on center? It should be where you want it to be Link to comment
Idioticrioter Posted December 18, 2016 Author Share Posted December 18, 2016 How can i fix it? Link to comment
Dimos7 Posted December 18, 2016 Share Posted December 18, 2016 local screenWidth, screenHeight = guiGetScreenSize() dxDrawImage(screenWidth/2 - imageWidth/2, screemHeight/2 - imageHeight/2) etc Link to comment
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