Guest User

Untitled

a guest
Jul 20th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. gate = createObject (980 , 1321, 782, 14)
  2.  
  3. function opengate(thePlayer)
  4. if getElementModel( thePlayer) == 217 then
  5. moveObject (gate, 500,-300.5,1506.8994140625,77.199996948242)
  6. end
  7. end
  8. addCommandHandler( "open", gatecol, opengate )
  9.  
  10. function closegate(thePlayer)
  11. if getElementModel( thePlayer ) == 287 then
  12. moveObject (navalent1, 500, -289,1507,77.199996948242)
  13. end
  14. end
  15. addCommandHandler( "onColShapeLeave", gatecol, closegate )
Add Comment
Please, Sign In to add comment