Jump to content

help me, please. I want a position for bind


vilhem

Recommended Posts

define what you mean. You are not very clear. Do you want a bind that tells you your position, or do you want a bind that teleports you to a position ?

Link to post
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 post

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