12.10.2011, 21:29
Код:
public movegatepolicial(playerid) { for(new z = 0; z < MAX_PLAYERS; ++z) { if(IsCop[z] == 1) { if(IsPlayerInRangeOfPoint(z, 7.0, 2237.6914,2453.1399,10.7588)) { MoveObject(gatepolicial, 2238.1999511719, 2459.1000976563, 9.8999996185303, 2.00); } else { MoveObject(gatepolicial, 2238.1000976563, 2450.3000488281, 9.8000001907349, 2.00); } } } }