Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function createTheGate ()
- myGate1 = createObject ( 16775, 1840.4000244141,110,44.299999237061 , 0, 0, 88 )
- end
- addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate )
- function openMyGate ( )
- moveObject ( myGate1, 2500, 1840.4000244141,110, 36.200000762939 )
- end
- addCommandHandler("abrir",openMyGate)
- function movingMyGateBack ()
- moveObject ( myGate1, 2500, 1840.4000244141,110,44.299999237061 )
- end
- addCommandHandler("fechar",movingMyGateBack)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement