public OnVehicleDamageStatusUpdate(vehicleid, playerid) { new Float:health; GetVehicleHealth(vehicleid, health); if(health <= 300) { SetVehicleHealth(vehicleid, 300); } }