From Mod Wiki
integer count -- Amount of damage to repair.
- If the vehicle is in a state where it will not allow repairs, the result will be -1.
- On network clients this will return 0.
Attempts to repair the amount of damage specified, and returns how much was actually repaired.