GetFractionMaxAmmo( <weapon name> )


Module: Player

Summary:

Return the player's current ammunition amount as a fraction of the weapon's maximum ammunition



Call this on:

The player



Example:

 self GetFractionMaxAmmo( "m4_grenadier" );



Required Args:

  • 1 : <weapon name> The weapon name (a string)