☠ RaZeR ☠ Posted March 14, 2016 Share Posted March 14, 2016 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
0m4r Posted March 14, 2016 Share Posted March 14, 2016 put the full code or make sure of windows Name 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