Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local sideMarker = createMarker(-1906.94, 262.89, 40, "cylinder", 10, 0, 220, 255, 100)
- local sideGate = createObject(987, -1913.94, 262.89, 40, 0, 0, 0)
- function openSideGate( hitElement )
- if (getElementType(hitElement) == "player" ) then
- moveObject( sideGate, 2000, -1913.94, 262.89, 30 )
- outputChatBox( "Welcome to the Zombie Fallout zone!", hitElement, 0, 255, 255, true )
- end
- end
- addEventHandler( "onMarkerHit", sideMarker, openSideGate )
Add Comment
Please, Sign In to add comment