Quero que ele gire!
local gate = createObject(13831, 1401.72900, -806.37512, 84.99246, 0, 0, 0)
function girar ()
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 10)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 20)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 30)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 40)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 50)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 60)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 70)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 80)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 90)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 100)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 110)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 120)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 130)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 140)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 150)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 160)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 170)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 180)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 190)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 200)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 210)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 220)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 230)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 240)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 250)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 260)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 270)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 280)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 290)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 300)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 310)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 320)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 330)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 340)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 350)
moveObject(gate, 6000, 1401.72900, -806.37512, 84.99246, 0, 0, 360)
end
addEventHandler("onResourceStart", root, girar)