26.02.2012, 14:21
hy how make in this script with pay function at gates?
Quote:
forward Gates1Check(); public Gates1Check() { new gates1_status; for(new i;i<MAX_PLAYERS;i++) { if(!IsPlayerConnected(i)) continue; if(IsPlayerInRangeOfPoint(i,10.0, 1780.80004883, 701.40002441, 15.80000019))gates1_status=1; } if(gates1_status)MoveObject(gates1, 1780.69995117, 701.40002441, 12.80000019, 0.5); else MoveObject(gates1, 1780.80004883, 701.40002441, 15.80000019, 6.5); return; } |