Sign in to follow this  
Hugos

help

Recommended Posts

I had a problem. When I click on "body" I have a missing "go." What to do? Help.

addEvent("PlayerJoined", true)
function PlayerJoined()
    setCursorPosition(x/2, y/2)
    showCursor(true)
    body = guiCeateStaticImage(x/2-(y/(1080/280)/2), y/2+y/8.5, y/(1080/280), y/(1080/50), "gfx/go!.png", false)
    go = guiCreateStaticImage(x/2-(y/(1080/400)/2), y/2-(y/(1080/530)/2), y/(1080/400), y/(1080/530), "gfx/body.png", false)
end
addEventHandler("PlayerJoined", localPlayer, PlayerJoined)

 

Share this post


Link to post

I realized what the problem was. When you click on a picture, it gets to the foreground. How do I fix it?

Share this post


Link to post
guiSetEnabled(image, false)

 

Share this post


Link to post
Just now, DNL291 said:

guiSetEnabled(image, false)

 

Thanks a lot!

Share this post


Link to post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.