How To Make Full Car Health Show as 100 instead of 1000
#2

Just subtract 250 from the health and divide it through 7.5 (max possible health is 750)

pawn Код:
new
    Float: health
;
GetVehicleHealth(vehicleid, health);

health = (health - 250.0) / 7.5;
Reply


Messages In This Thread
How To Make Full Car Health Show as 100 instead of 1000 - by AnonScripter - 06.02.2014, 22:11
AW: How To Make Full Car Health Show as 100 instead of 1000 - by Nero_3D - 06.02.2014, 22:20
Re: How To Make Full Car Health Show as 100 instead of 1000 - by AnonScripter - 07.02.2014, 02:57

Forum Jump:


Users browsing this thread: 1 Guest(s)