Jump to content

Help! GUI opening for everyone!


Recommended Posts

Help! GUI opening for everyone!

function dontTryBug() 
if ( guiGetVisible ( oneMinute ) ~= true ) then 
if source == Marker[2] then 
guiSetVisible ( GUIEditor.window[1], true ) 
showCursor ( true ) 
else 
if timeRem ~= "1" then 
if source == Marker[2] then 
showCursor ( false ) 
destroyElement ( GUIEditor.window[1] ) 
        end 
     end 
    end 
  end 
end 
addEventHandler("onClientMarkerHit", getRootElement(), dontTryBug) 

Link to comment
function dontTryBug(element) 
    if element == localPlayer then 
        if ( guiGetVisible ( oneMinute ) ~= true ) then 
            if source == Marker[2] then 
                guiSetVisible ( GUIEditor.window[1], true ) 
                showCursor ( true ) 
            else 
                if timeRem ~= "1" then 
                    if source == Marker[2] then 
                    showCursor ( false ) 
                    destroyElement ( GUIEditor.window[1] ) 
                    end 
                end 
            end 
        end 
    end 
end 
addEventHandler("onClientMarkerHit", getRootElement(), dontTryBug) 
  

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