Guest User

Untitled

a guest
Oct 16th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. local marker = createMarker(-1906.94, 262.89, 40, "cylinder", 10, 0, 220, 255, 100)
  2. local sideGate = createObject(987, -1913.94, 262.89, 40, 0, 0, 0)
  3.  
  4.  
  5. function moveMyGate( hitElement, marker, matchingDimension )
  6. if ( matchingDimension ) then
  7. moveObject( sideGate, 2000, -1913.94, 262.89, 30 )
  8. outputChatBox( "Welcome to the Zombie Fallout zone!", hitElement, 0, 255, 255, true )
  9. end
  10. end
  11. addEventHandler( "onMarkerHit", marker, moveMyGate )
Add Comment
Please, Sign In to add comment