Jump to content

help me, please. I want a position for bind


Recommended Posts

myZone = createColSphere (2490, -1668, 12.5, 25)

function dimensionCheckerEnter(theElement, matchingDimension)
    if matchingDimension then 
  bindKey("H", "down", dxGuiTeleport)
   end
end
addEventHandler ("onClientColShapeHit", myZone, dimensionCheckerEnter)

function dimensionCheckerLeave(theElement, matchingDimension)
    if matchingDimension then 
  unbindKey("H", "down", dxGuiTeleport)
  end
end
addEventHandler ("onClientColShapeLeave", myZone, dimensionCheckerLeave)

 

Edited by Hydra
  • Like 1
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...