Call of Duty Script Documentation

# setweaponclipammo( <weapon name>, <ammunition> )

## Module

    Player

## Summary

    Set the weapon clip ammunition for the given weapon.

## Call this function on

    The player

## Example

     level.player setweaponclipammo(true);

## Minimum Number of arguments: 2

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

## Number of optional arguments: 0

Return to Function List