ice_brasil Posted July 4, 2013 Share Posted July 4, 2013 I want to for when a player clicks a button an image is created within the "label" I tried to use it: function showClientImage() myImage = guiCreateStaticImage(212, 48, 783, 460, ":site/home.png", false, GUIEditor.label[1]) end addEventHandler('onClientGUIClick',GUIEditor.button[1],showClientImage, false) Link to comment
ice_brasil Posted July 4, 2013 Author Share Posted July 4, 2013 That I do not know, the image is not being created within the label. Link to comment
iPrestege Posted July 4, 2013 Share Posted July 4, 2013 Are you sure about the image coordinates? Link to comment
mcer Posted July 4, 2013 Share Posted July 4, 2013 Are you sure about the image coordinates? It's possible use " : " in the Dir?. Link to comment
iPrestege Posted July 4, 2013 Share Posted July 4, 2013 You can get files from other resource using ':' example : ':resource/mcer.png' Link to comment
mcer Posted July 4, 2013 Share Posted July 4, 2013 Look if "site" resource is started. https://wiki.multitheftauto.com/wiki/Filepath 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