Difference between revisions of "ScriptEvent:getVehicleWeapon"
From Mod Wiki
(No difference)
|
Latest revision as of 17:01, 5 November 2007
Parameters
integer index -- Index of the weapon to look up.
Result
Supported By
sdTransport
Comments
- If the index is out of range the result will be null.
- Vehicle weapons are of type sdVehicleWeapon.
Functionality
Returns the script object of the weapon at the specified index.