ice_brasil Posted July 4, 2013 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)
ice_brasil Posted July 4, 2013 Author Posted July 4, 2013 That I do not know, the image is not being created within the label.
mcer Posted July 4, 2013 Posted July 4, 2013 Are you sure about the image coordinates? It's possible use " : " in the Dir?.
iPrestege Posted July 4, 2013 Posted July 4, 2013 You can get files from other resource using ':' example : ':resource/mcer.png'
mcer Posted July 4, 2013 Posted July 4, 2013 Look if "site" resource is started. https://wiki.multitheftauto.com/wiki/Filepath
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