Jump to content

What's wrong with this code (unbindkey in colshape area)


Z4Zy

Recommended Posts

What's the wrong with below code ??

local col = createColCuboid ( 0, 0, 3, 20, 20, 20 )

function disable ( thePlayer, matchingDimension )
    unbindKey ( thePlayer, "F1", "down", fr )
end

addEventHandler ( "onColShapeHit", col, disable )

need to disable Freeroam menu in that area

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