WickedBIJ Posted June 11, 2016 Posted June 11, 2016 I drew a circle on top right corner of screen. But it doesn't fit on all resolutions, any please help me with it? sWidth, sHeight = guiGetScreenSize() function circle() dxDrawCircle( sWidth-130, sHeight*(158/1080), 100, 5, 1, 0, 360, tocolor(0,0,0,255) ) end addEventHandler("onClientRender", root, renderHealth2)
Alonso7887 Posted June 11, 2016 Posted June 11, 2016 (300/1024)*sWidth, (300/768)*sHeight, (50/1024)*sWidth, (50/768)*sHeight Try like this
WickedBIJ Posted June 11, 2016 Author Posted June 11, 2016 Already tried it but it doesn't work on resolutions higher than 1600. Thanks anyways, already found another method.
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