public OnVehicleDamageStatusUpdate(vehicleid, playerid) { RepairVehicle(vehicleid); return1; }
same as godmode
Sorry but this is probably the worst option, as this callback only gets called when a vehicle gets visibly damage, which not every vehicle can be (boats, planes, and any 2 wheel vehicle etc do not have visible elements that can be damaged). Test your code with an NRG500 or a plane for example.