public OnVehicleDamageStatusUpdate(vehicleid,playerid){ new Float:vida; new vehicleid = GetPlayerVehicleID(playerid); GetVehicleHealth(vehicleid, vida); if(vida < 300) { // func... } return true;}