new Float:h, vid = GetPlayerVehicleID(playerid); GetVehicleHealth(vid, h); RepairVehicle(vid); SetVehicleHealth(vid, h);