10.07.2012, 01:16
People with this code does not leave the vehicle suffers any damage, ie, neither visual nor motor ... but wanted him to be a command that would enable it would be off by $ 5000 and help, please.
Код:
public OnVehicleDamageStatusUpdate(vehicleid, playerid)
{
new Float:Damage;
if(GetVehicleHealth(vehicleid, Damage) < 1000)
return RepairVehicle(vehicleid);
return true;
}


