Bandito Posted June 27, 2013 Posted June 27, 2013 (edited) Hi there! i have problem with gui resolution i create this button : local x,y = guiGetScreenSize ( ) GUIEditor.button[1] = guiCreateButton(x*321/1366, y*565/768, x*157/1366, y*29/768, "Hello", false, GUIEditor.staticimage[1]) 1366 - 768 My screen resolution : ) But the problem the resolution works fine for me only other screen resolution doesn't work as it should . Edited June 27, 2013 by Guest
xXMADEXx Posted June 27, 2013 Posted June 27, 2013 You dont need to set it for resolutions sense it haves a parent. You only need to set GUI/DX elements that dont have a parent for all resolutions. The Ultimate Lua Tutorial! | MTA PHP SDK
Bandito Posted June 27, 2013 Author Posted June 27, 2013 You dont need to set it for resolutions sense it haves a parent. You only need to set GUI/DX elements that dont have a parent for all resolutions. I don't understand what you're telling me.
bandi94 Posted June 27, 2013 Posted June 27, 2013 You dont need to set it for resolutions sense it haves a parent. You only need to set GUI/DX elements that dont have a parent for all resolutions. Hmmm... IDK if this is 100% true. IF you make a centered GuiWindow , and a GuiButton with parent element the created window, that dosen't mean that the button can't move inside the Window on other res. Ingame Name : |DGT|Puma DGT Clan Server 24/7 Owner/Scripter MultiGameMode in progress :
Bandito Posted June 27, 2013 Author Posted June 27, 2013 Help me please tell me how i can make it for all resolution ?
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