Jump to content

HELP PLZ


flirtyboy23

Recommended Posts

gate = createObject(ID, X, Y, Z) 
  
function moveGate(player) 
team = getPlayerTeam(player) 
if team then 
teamName = getTeamName(team) 
if teamName == "BLABLA" then 
moveObject(gate, 5000, newX, newY, newZ) 
    end 
  end 
end 
addCommandHandler("move",moveGate) 

Edited by Guest
Link to comment

it didnt move ?

gate = createObject(971, 96.57, 1919.40, 20.75585, 0, 0, 270) 
  
function moveGate(player) 
team = getPlayerTeam(player) 
if team then 
teamName = getTeamName(team) 
if teamName == "Military" then 
moveObject(gate, 5000, 97.01, 1915.55, 18.17) 
    end 
  end 
end 
addCommandHandler("move",moveGate) 
  

Edited by Guest
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...