Fist Posted March 20, 2017 Share Posted March 20, 2017 (edited) I have problem with guiStaticImageLoadImage function i create images like this. local parentImage = guiCreateStaticImage(0, 0, 64, 64, "img1.png", false) local childImage = guiCreateStaticImage(0, 0, 1, 1, "img2.png", true, parentImage) but if i change parentImage then childImage disappears or it changed to the same image as parent guiStaticImageLoadImage(parentImage, "img3.png") But i want just to change parent image not child's aswell. Is there any solution for this? Edited March 20, 2017 by Fist Link to comment
NeXuS™ Posted March 20, 2017 Share Posted March 20, 2017 (edited) Try guiBringFont(childImage) Edited March 20, 2017 by NeXuS™ Link to comment
MIKI785 Posted March 20, 2017 Share Posted March 20, 2017 Read this: https://wiki.multitheftauto.com/wiki/SetElementCallPropagationEnabled Link to comment
Fist Posted March 20, 2017 Author Share Posted March 20, 2017 (edited) 13 minutes ago, MIKI785 said: Read this: https://wiki.multitheftauto.com/wiki/SetElementCallPropagationEnabled I tried it, but it still didn't work. Edit: nvm, worked. (solved) Edited March 20, 2017 by Fist 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