I created a cmd to move a gate i created at the entrance to the LVAP runway
function moveAirportobj ( thePlayer, command )
moveObject ( airportgate, 5000, 1705.8194, 1607.4523, 5.1635, 0, 0, 0 )
outputChatBox ( "LV Airport Gate Open, gate will close in 5 secs", thePlayer )
setTimer ( removeAirport, 10000, 0 )
end
addCommandHandler ( "lvagate", moveAirportobj )
local airportgate2 = createObject ( 980, 1705.8194, 1607.4523, 5.1635, 0, 0, 74.6800 )
function removeAirportobj ()
moveObject ( airportgate2, 5000, 1705.8194, 1607.4523, 11.1635, 0, 0, 0 )
end
now i don't know why but this cmd can only be used once.