vilhem Posted May 6, 2020 Share Posted May 6, 2020 Hi. I have a small problem, and I don't understand why! This GUI is created on Relatives. -- leasing gui2["_root2"] = guiCreateStaticImage(0.37, 0.63, 0.25, 0.17, ":resources/window_body.png", true) gui2["btnLeasing"] = guiCreateButton(0.44, 0.72, 0.12, 0.06, "Buy on leasing", true, gui2["_root2"]) -- 0.44, 0.72, 0.12, 0.06 -- gui2["lblLeasing"] = guiCreateLabel(0.38, 0.64, 0.23, 0.03, "LEASING", true, gui2["_root2"]) -- 0.38, 0.64, 0.23, 0.03 guiLabelSetHorizontalAlign(gui2["lblLeasing"], "center", false) guiLabelSetVerticalAlign(gui2["lblLeasing"], "center") -- gui2["lblPrice"] = guiCreateLabel(0.41, 0.67, 0.16, 0.04, "Price: 200$ per hour", true, gui2["_root2"]) -- 0.41, 0.67, 0.16, 0.04 guiLabelSetHorizontalAlign(gui2["lblPrice"], "center", false) guiLabelSetVerticalAlign(gui2["lblPrice"], "center") >>> image: https://ibb.co/cgh39jN 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