GiveMaxAmmo( <weapon name> )


Module: Player

Summary:

Set the player's ammunition to the weapon's maximum ammunition



Call this on:

The player



Example:

 self GiveMaxAmmo( self.pers["weapon"] );



Required Args:

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