local object1 = createObject(10841,1067.0999755859,1361.0999755859,15.300000190735,0,0,0)
local bOpenState = true;
addCommandHandler( 'o',
function( player )
bOpenState and moveObject( object1, 1000,1067.0999755859,1361.0999755859,7.3000001907349,0,0,0 ) or
moveObject( object1, 1000,1067.0999755859,1361.0999755859,15.300000190735,0,0,0 );
outputChatBox( bOpenState and 'откр' or 'закр' );
bOpenState = not bOpenState;
end
)