GetWeaponSlotAmmo( <weapon slot> )


Module: Player

Summary:

Gets the ammo count for the weapon in the given slot.



Call this on:

The player



Example:

ammo = level.player getweaponslotammo("primary");



Required Args:

  • 1 : <weapon slot> Valid weaponslots are "primary" and "primaryb".