pawn Код:
if(GetObjectPos(GATE6, 1587.9688,-1722.7001,1449.6000)){ MoveObject(GATE6,1587.89941406,-1718.39941406,1448.59997559,2.0); SCM(playerid,0xFFFFFFFF,"closing!");}
if(GetObjectPos(GATE6, 1587.89941406,-1718.39941406,1448.59997559)){ MoveObject(GATE6,1587.9688,-1722.7001,1449.6000,2.0); SCM(playerid,0xFFFFFFFF,"opening!"); }