Hi racers,
The code of the health don´t down of 100%, what is the problem ?
The code of the health don´t down of 100%, what is the problem ?
// When health < 1% we give Doctors bill
if (C.LastDistanceUpdate != C.TotalDistance)
{
if (C.PlayerName == "host")
{
}
else if (C.Health < 1)
{
InSim.Send_MST_Message("/msg " + C.PlayerName + "^7 paid €500 Doctors Clark!");
C.Health = 100;
C.Cash -= 500;
}
}