Shooting X Crash . Difference
#5

Quote:
Originally Posted by dice7
Get this
http://forum.sa-mp.com/index.php?topic=82583.0
and edit the OnPlayerHealthChange to work with vehicles
pawn Код:
OnVehicleHealthChange(veh, newhealth, oldhealth)
{
  loop thorugh players
  {
    if(isplayerinspecificcar)
    {
     SetPlayerHealth(playerid, 100);
   }
  }
}
The specification is not valid because the value changes with the distance and gun. Believe it would be like Tmastersa said, a OnVehicleDamage differentiating. Someone might have more suggestions?
Reply


Messages In This Thread
Shooting X Crash . Difference - by texugo - 29.09.2009, 01:47
Re: Shooting X Crash . Difference - by texugo - 29.09.2009, 16:59
Re: Shooting X Crash . Difference - by TMasters - 29.09.2009, 17:33
Re: Shooting X Crash . Difference - by dice7 - 29.09.2009, 18:01
Re: Shooting X Crash . Difference - by texugo - 02.10.2009, 02:16
Re: Shooting X Crash . Difference - by Hiitch - 02.10.2009, 10:21

Forum Jump:


Users browsing this thread: 1 Guest(s)