I just had another 'perfect' idea to solve this problem. ahah
So supposedly we don't want to give to people unlimited health to their vehicles because DM'ers will obviously be against it. What if we could try to know if the player's being chased and / or running from a fighter?
GetVehicleDamageStatus, that function has five parameters: one of these is "tires". So I assume it's possible to know when the vehicle's tires are damaged or not.
Is there any other way to damage the vehicles' tires besides shooting them with a weapon? If not, you could completely give unlimited health to the vehicles.
It would have to be checking the vehicles' tires health and when it's down, the unlimited health would be disabled. Also, maybe you could increase to 30 per cent the damage that a weapon takes to the players who are in a car.
Another thing that possibly would be cool is when the unlimited vehicles' health is disabled, if the player keeps driving a car for more than 30 seconds and if it didn't take damage at all in general during that period, re-give the unlimited health.
It should have a text-draw informing about the vehicles' health situation.
So supposedly we don't want to give to people unlimited health to their vehicles because DM'ers will obviously be against it. What if we could try to know if the player's being chased and / or running from a fighter?
GetVehicleDamageStatus, that function has five parameters: one of these is "tires". So I assume it's possible to know when the vehicle's tires are damaged or not.
Is there any other way to damage the vehicles' tires besides shooting them with a weapon? If not, you could completely give unlimited health to the vehicles.
It would have to be checking the vehicles' tires health and when it's down, the unlimited health would be disabled. Also, maybe you could increase to 30 per cent the damage that a weapon takes to the players who are in a car.
Another thing that possibly would be cool is when the unlimited vehicles' health is disabled, if the player keeps driving a car for more than 30 seconds and if it didn't take damage at all in general during that period, re-give the unlimited health.
It should have a text-draw informing about the vehicles' health situation.