Difference between revisions of "ScriptEvent:repair"
From Mod Wiki
(No difference)
|
Latest revision as of 11:36, 5 November 2007
Parameters
integer count -- Amount of damage to repair.
Result
Supported By
sdTransport
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.
Functionality
Attempts to repair the amount of damage specified, and returns how much was actually repaired.