Vice City: Multiplayer

VC:MP Discussion => Support => Bugs and Crashes => Topic started by: BeckzyBoi on Jun 26, 2018, 12:45 PM

Title: player.Health = 0.0;
Post by: BeckzyBoi on Jun 26, 2018, 12:45 PM
When you set a player's health to 0 and they're in a vehicle, they won't die until they exit the vehicle. So basically they can continue to drive around and not die until they leave the vehicle. Sorry if this has been posted before, but I couldn't find a such topic...
Title: Re: player.Health = 0.0;
Post by: NicusorN5 on Jun 26, 2018, 01:20 PM
function CPlayer::Kill()
{
  this.Immunity = 0;
  this.Eject();
  this.Health = 0;
}
Title: Re: player.Health = 0.0;
Post by: BeckzyBoi on Jun 27, 2018, 02:08 AM
Quote from: Athanatos on Jun 26, 2018, 01:20 PMfunction CPlayer::Kill()
{
  this.Immunity = 0;
  this.Eject();
  this.Health = 0;
}

Lol I am aware of the scripted fix. I was just reporting the bug.