Advertisement
lopezloo

Fucking gate #3

Oct 10th, 2014
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.59 KB | None | 0 0
  1. local fuGate = createObject(968, 0, 0, 5, 0, 90, 0)
  2. local rx, ry, rz = getElementRotation(fuGate)
  3. outputChatBox("fu gate created, rotation: " .. rx .. ", " .. ry .. ", " .. rz)
  4.  
  5. local fuTime = 10000
  6. moveObject(fuGate, fuTime, 0, 0, 5, 0, 0, 180)
  7. setTimer(
  8.     function()
  9.         local rx, ry, rz = getElementRotation(fuGate)
  10.         outputChatBox("fu gate stopped, rotation: " .. rx .. ", " .. ry .. ", " .. rz)
  11.  
  12.         local fuGates = getElementsByType("object")
  13.         local rx, ry, rz = getElementRotation(fuGate)
  14.         outputChatBox("fu gate stopped, rotation: " .. rx .. ", " .. ry .. ", " .. rz)
  15.     end, fuTime, 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement