próbáld meg igy:
new Float:health;
new veh = GetPlayerVehicleID(playerid);
new CarHealth[MAX_VEHICLES];
GetVehicleHealth(veh, health);
if (CarHealth[veh] > 100000)
{
if (health < 1000)
{
SetVehicleHealth(veh, 1000);
}
}
nincs tesztelve, elvileg megy...