low Vehicle Health.....EJECTED!
#10

pawn Код:
public carhealth()
{
for(new i = 0; i < MAX_PLAYERS; i++)
  {
  if(!IsPlayerInAnyVehicle(i)continue;
  new Float:vHealth;
  GetVehicleHeath(GetPlayerVehicleID(i),vHealth);
  if (vHealth<100.0) {
    RemovePlayerFromVehicle(GetPlayerVehicleID(i));
    SendClientMessage(i,COLOR_RED,"Your Vehicle Is Going To Explode,You Have Been Ejected");
   }

  }

}
like this
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)