GetWeaponAmmoStock( <weapon name> )


Module: Player

Summary:

Get the ammunition stockpile for the given weapon.



Call this on:

The player



Example:

 clipCount = level.player GetWeaponAmmoStock( "m4_grenadier" );



Required Args:

  • 1 : <weapon name>: (string) The weapon name for this weapon.