SetWeaponAmmoClip( <weapon name>, <ammunition> )


Module: Player

Summary:

Set the weapon clip ammunition for the given weapon.



Call this on:

The player



Example:

 level.player SetWeaponAmmoClip( "m16", 30 );



Required Args:

  • 1 : <weapon name>: (string) The weapon name for this weapon.
  • 2 : <ammunition>: (integer) The amount of ammunition in the clip.