Jump to content

What I do wrong?


zZerteXx

Recommended Posts

Hi everyone! Is code correct? When I stand on marker, there's nothing happens


infoMarker = createMarker(2808.621094,-2430.112305,12.62857, "cylinder", 2.0, 255, 0, 0, 150)

function openInfoGui()
    if isElementWithinMarker(thePlayer, infoMarker) then
        outputChatBox("You are not at the right place!", thePlayer, 255, 0, 0)
    end
end
addEventHandler( "openInfoGui", root, openInfoGui )
 

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