Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function createTheGate ()
- myGate = createObject (3115, 412.19921875, -1841.599609375, -4, 0, 90, 90 )
- end
- addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate )
- function openMygat ( )
- moveObject ( myGate , 3115, 400.3994140625, -1841.599609375, -4 )
- end
- addCommandHandler("openswat",openMyGate)
- function movingMyGateBack ()
- moveObject (myGate, 3115, 412.19921875, -1841.599609375, -4 )
- end
- addCommandHandler("closeswat",movingMyGateBack)
- end
Advertisement
Add Comment
Please, Sign In to add comment