How do i make the timers work
#3

Quote:

every 3 seconds

pawn Code:
forward RepairVehicle();
public RepairVehicle() {
  for(new i; i<MAX_PLAYERS; i++) {
    if(IsPlayerInAnyVehicle(i)) {
      RepairVehicle(GetPlayerVehicleID(i));
    }
  }
  return true;
}
//...
SetTimer("RepairVehicle", 3000, true);
Reply


Messages In This Thread
How do i make the timers work - by xLowrider - 02.04.2010, 09:50
Re: How do i make the timers work - by Drake1994 - 02.04.2010, 10:01
Re: How do i make the timers work - by thiaZ_ - 02.04.2010, 10:12

Forum Jump:


Users browsing this thread: 1 Guest(s)