16.01.2014, 00:37
You will never be able to damage to 60 HP
vehicles have 1000 HP and at 250 HP it starts to burn, use
if(health < PreviousHealth+100)
Where PreviousHealth is HP you get previously, like in some timer or so.
and 100 is how heavy impact you want that engine cuts.
Or just Turn the engine off at any damage, then you dont need a health at all.
@StreetGT, yoyo
vehicles have 1000 HP and at 250 HP it starts to burn, use
if(health < PreviousHealth+100)
Where PreviousHealth is HP you get previously, like in some timer or so.
and 100 is how heavy impact you want that engine cuts.
Or just Turn the engine off at any damage, then you dont need a health at all.
@StreetGT, yoyo
