Snow-Man Posted August 27, 2014 Posted August 27, 2014 sizeX, sizeY = guiGetScreenSize() rsx, rsy = sizeX/1280, sizeY/1024 -- Max Resolution dxDrawRectangle(rsx*484, rsy*493, rsx*125, rsy*32, tocolor(0, 0, 0, 150), true) dxDrawText(" Login", rsx*484, rsy*493, rsy*561, rsy*446, tocolor(255, 255, 255, 255), 0.80, myFont, "left", "top", false, false, true, false, false) when i use that, it work fine but when i change resolution i see positions of dx has been changed USC Informations Head Staff & Owner Of USC. Youtube Channel : My Channel
Moderators IIYAMA Posted August 27, 2014 Moderators Posted August 27, 2014 >>>> https://wiki.multitheftauto.com/wiki/Dx ... entEnabled <<<< Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Snow-Man Posted August 27, 2014 Author Posted August 27, 2014 thanks please lock this thread USC Informations Head Staff & Owner Of USC. Youtube Channel : My Channel
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