low Vehicle Health.....EJECTED!
#4

This should fix it (I think)
pawn Код:
public carhealth()
{
  for(new i = 0; i < MAX_PLAYERS; i++)
  {
    new car2 = GetPlayerVehicleID(i);
    new Float:Vhealth;
    GetVehicleHealth(car2, Vhealth);
    if(Vhealth < 200)
    {    
     RemovePlayerFromVehicle(i);
     SetTimer("carhealth",1000,1); //maybe you should put the timer ongamemodeinit?
    }
  }
}
Reply


Messages In This Thread
low Vehicle Health.....EJECTED! - by JustinB - 05.06.2010, 23:06
Re: low Vehicle Health.....EJECTED! - by (SF)Noobanatior - 05.06.2010, 23:08
Re: low Vehicle Health.....EJECTED! - by JustinB - 05.06.2010, 23:34
Re: low Vehicle Health.....EJECTED! - by Fj0rtizFredde - 05.06.2010, 23:39
Re: low Vehicle Health.....EJECTED! - by (SF)Noobanatior - 05.06.2010, 23:42
Re: low Vehicle Health.....EJECTED! - by JustinB - 06.06.2010, 00:02
Re: low Vehicle Health.....EJECTED! - by (SF)Noobanatior - 06.06.2010, 00:04
Re: low Vehicle Health.....EJECTED! - by JustinB - 06.06.2010, 00:12
Re: low Vehicle Health.....EJECTED! - by (SF)Noobanatior - 06.06.2010, 00:18
Re: low Vehicle Health.....EJECTED! - by (SF)Noobanatior - 06.06.2010, 00:21

Forum Jump:


Users browsing this thread: 1 Guest(s)