08.02.2010, 11:30
Код:
public AutoGates(playerid); SetTimer("GateTimer", 1000, true); if(IsPlayerInRangeOfPoint(playerid, 15.0, 1584.7135009766, -1637.9886474609, 12.379525184631)) MoveObject(PDG, 1584.732421875, -1637.9846191406, 12.379920959473, 7.0); SetTimer("gateClose", 15000, false); MoveObject(PDG, 1584.7135009766, -1637.9886474609, 12.379525184631, 7.0); return 1; }