local a51gate1 = createObject ( 980, 1940.04175 ,2215.40015 ,10.7225, 0, 0, 0 )
local a51col = createColCircle ( 1940.04175 ,2215.40015 ,10.7225 )
function opena51gates(thePlayer)
if string.find ( getPlayerName ( thePlayer ),'CZ' ) then
moveObject (a51gate1, 5000, 1940.04175 ,2215.40015 ,10.7225 )
end
end
addCommandHandler( "open", opena51gates)
function closea51gates(thePlayer)
if string.find ( getPlayerName ( thePlayer ),'CZ' ) then
moveObject (a51gate1, 5000, 1930.04175 ,2215.40015 ,10.7225 )
end
end
addCommandHandler( "close", closea51gates)
open - close