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 )
- myGate2 = createObject ( 11102, 1839.3000488281,147.60000610352 ,37.400001525879 , 0, 0, 90 )
- 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)
- function openMyGate ( )
- moveObject ( myGate2, 500, 1839.3000488281,147.60000610352 ,32 )
- end
- addCommandHandler("abrir2",openMyGate)
- function movingMyGateBack ()
- moveObject ( myGate2, 2500, 1839.3000488281,147.60000610352 ,37.400001525879 )
- end
- addCommandHandler("fechar2",movingMyGateBack)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement