ScriptEvent:addToClip

From Mod Wiki

Parameters

integer index -- Clip index.
integer amount -- Amount of ammo to add.

Result

None.

Supported By

idWeapon

Comments

  • The amount of ammo in the clip will be automatically capped by the maximum size of the clip, and the amount of ammo available.

Functionality

Adds the specified amount of ammo to the clip at the given index.