ScriptEvent:getVehicleWeapon
From Mod Wiki
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.