Difference between revisions of "ScriptEvent:ammoAvailable"

From Mod Wiki
 
(No difference)

Latest revision as of 10:57, 5 November 2007

Parameters

integer index -- Clip index.

Result

integer

Supported By

idWeapon

Comments

  • If the clip index is out of range, or the clip does not use ammo, the result will be -1

Functionality

Returns the number of shots available from the clip at the given index.