ScriptEvent:repair
From Mod Wiki
Contents |
[edit]
Parameters
integer count -- Amount of damage to repair.
[edit]
Result
[edit]
Supported By
sdTransport
[edit]
Comments
- 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.
[edit]
Functionality
Attempts to repair the amount of damage specified, and returns how much was actually repaired.
