Oxsotus Posted July 24, 2013 Share Posted July 24, 2013 Hi! I don't know, why it doesn't works. function createLoginWindow() background = guiCreateStaticImage(10,10,200,200,"bg.png", false) . . . . addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function () -- create the log in window and its components createLoginWindow() -- enable the players cursor (so they can select and click on the components) showCursor(true) guiSetVisible(logreg_window, true) guiSetVisible(background, true) -- set the input focus onto the GUI, allowing players (for example) to press 'T' without the chatbox opening guiSetInputEnabled(true) end ) The picture doesn't loaded. There are only the login GUI Please help. Link to comment
Moderators IIYAMA Posted July 24, 2013 Moderators Share Posted July 24, 2013 image is inside the meta.xml? Link to comment
papam77 Posted July 24, 2013 Share Posted July 24, 2013 Do you have in a meta.xml this? Link to comment
Oxsotus Posted July 24, 2013 Author Share Posted July 24, 2013 Thank! It's the first problem. The second: I write bad filepath. Link to comment
Moderators IIYAMA Posted July 24, 2013 Moderators Share Posted July 24, 2013 Why do you want that? Link to comment
papam77 Posted July 24, 2013 Share Posted July 24, 2013 Why do you want that? I guess for Login Panel createLoginWindow() 99% for login Link to comment
Moderators IIYAMA Posted July 24, 2013 Moderators Share Posted July 24, 2013 You are talking about this function right? https://wiki.multitheftauto.com/wiki/FileWrite What is the problem with it? 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