corvex letzte änderung hinzugefügt & luke dimension gefixt & add Waffen Pickups muss man testen

This commit is contained in:
michael.reiswich
2021-07-02 16:52:24 +02:00
parent 54705c4b25
commit c52f04026f
3 changed files with 68 additions and 3 deletions

View File

@@ -19,6 +19,11 @@ export class vVehicleDamage
try
{
if(veh.getPedInSeat(-1) == 0)
veh.setInvincible(true);
else
veh.setInvincible(false);
if(veh.getEngineHealth() < 0 || veh.getHealth() <= 250)
{
veh.setEngineHealth(0);
@@ -40,4 +45,4 @@ export class vVehicleDamage
}
}
const PetrolDamage = new vVehicleDamage();
const PetrolDamage = new vVehicleDamage();