totalled cars & teams/skins help
#5

The max health of a vehicle is 1000, 7% would be 70. Although, we cant detect if it's 70 cuz i believe around 200 or something the car is on fire.

To use the function, just create a new Float:carhealth;
Then get the vehicle ID of the player and then get the health for that vehicle id which will be stored in the variable carhealth

Example -
pawn Код:
new Float:health;
    new veh = GetPlayerVehicleID(playerid);
    GetVehicleHealth(veh, health);
Reply


Messages In This Thread
totalled cars & teams/skins help - by Uberanwar - 07.09.2013, 04:59
Re: totalled cars & teams/skins help - by Uberanwar - 07.09.2013, 05:48
Re: totalled cars & teams/skins help - by [HK]Ryder[AN] - 07.09.2013, 05:52
Re: totalled cars & teams/skins help - by Uberanwar - 07.09.2013, 06:31
Re: totalled cars & teams/skins help - by [HK]Ryder[AN] - 07.09.2013, 07:21
Re: totalled cars & teams/skins help - by Uberanwar - 07.09.2013, 07:46

Forum Jump:


Users browsing this thread: 1 Guest(s)