Jump to content

Script Gates


DarKneSS29

Recommended Posts

gate=1 createObject(980,551.5, 1659.300488281,8.8000001907349,0, 0, 121.99768066406)

addCommandHandler("/gc1",close)function close

endaddCommandHandler("/go1",open)function open

moveObject(gate1,5000,551.59997558594, 165.1999511719, 14.30000190735 )

THis is good Edited by Guest
Link to comment
gate = createObject(980, 551.5, 1659.300488281, 8.8000001907349, 0, 0, 121.99768066406) 
  
function gateOpen() 
moveObject( gate, 2000, 551.59997558594, 165.1999511719, 14.30000190735 ) 
end 
addCommandHandler("go1", gateOpen)--Command /go1 to open gate 
  
function gateClose() 
moveObject( gate, 2000, 551.59997558594, 165.1999511719, 14.30000190735 ) 
end 
addCommandHandler("gc1", gateClose)--Command /gc1 to close gate 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...