Jump to content

problem in check wind


Recommended Posts

when i hit the marker i want to check if the windows is closed

but the if and else ddint work !

the window is open = true but nothing

and when the window is close = false but nothing come

client !

        addEvent("reward4",true) 
addEventHandler("reward4",root, 
    function () 
    if ( guiGetVisible ( mis4 ) == true ) then 
    guiSetVisible (claim4, true) 
    guiSetVisible (change4, false) 
    fadeCamera(false,0,0,0,0) 
    sound = playSound("song.mp3") 
    else 
    guiSetVisible (claim4, false) 
    guiSetVisible (change4, true) 
    end 
    end 
) 

Link to comment

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...