ScriptEvent:ammoType

From Mod Wiki
Revision as of 10:57, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Parameters

integer index -- Clip index.

Result

integer

Supported By

idWeapon

Comments

  • If the clip index is out of range, the result will be -1.

Functionality

Returns the index of the ammoDef used by the clip at the given index.