Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BaseGate=createObject(976, 1357.1999511719, 709.09997558594, 9.6999998092651,0,0, 90)
- collisionShape=createColSphere(1357.1999511719,709.09997558594,9.6999998092651,5)
- function openGate(player)
- moveObject( BaseGate, 2000, 1357.1999511719, 709.09997558594, 4)
- end
- addEventHandler("onColshapeHit", collisionShape, openGate)
- function closeGate(player)
- moveObject(BaseGate, 2000, 1357.1999511719, 709.09997558594, 9.6999998092651)
- end
- addEventHandler("onColShapeLeave", collisionShape, closeGate)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement