Jump to content

why the marker does not visible inside binco


Neffax

Recommended Posts

local function on_exit_hit (hitElement,  matchingDimension)

    if getElementType (hitElement) ~= "player" then

        outputChatBox (getPlayerName (hitElement).."  ".."Join The Marker")

     return

   end

end

local function on_enter_hit (hitElement,  matchingDimension)

    if getElementType (hitElement) ~= "player" then

        outputChatBox (getPlayerName (hitElement).."  ".."Join The Marker")

     return

   end

    setElementInterior (

        hitElement,

        207.5430,

        -109.0040,

        1005.1330

    )

end

local function stp ()

    local enter = createMarker (

         1154.11340,

         -1772.66272,

         17.59375,

         "arrow",

          2,

          255,

          0,

          0,

          155

        )

        local exit = createMarker (

            -2029.67358,

            -118.98129,

            1035.17188,

            "arrow",

            2,

            255,

            0,

            0,

            155

        )

        addEventHandler ("onMarkerHit", enter, on_enter_hit)

        addEventHandler ("onMarkerHit", exit, on_exit_hit)

    end

addEventHandler ("onResourceStart", resourceRoot, stp)

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