Jump to content

guiStaticImageLoadImage parent problem. (SOLVED)


Fist

Recommended Posts

Posted (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 by Fist

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...