Call of Duty Script Documentation

# givemaxammo(<weapon name>)

## Module

    Player

## Summary

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

## Call this function on

    The player

## Example

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

## Minimum Number of arguments: 1

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

## Number of optional arguments: 0

Return to Function List