Health Car
#1

Help.
It is necessary that a player's health bar shown here is the health of the vehicle code
PHP код:
function VehicleHealth(playerid)
{
if(
Joined[playerid] == true)
{
new 
Float:health;
GetVehicleHealth(GetPlayerVehicleID(playerid),health);
SetPlayerHealth(playerid,health/10);
}
return 
1;

But how can that be if the car has a band of 25-30 health health was at the end.
I have right now is bad. If the car is burning a health even a little less than half.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)