Call of Duty Script Documentation

# setweaponslotweapon( <weapon slot> )

## Module

    Player

## Summary

    Sets the the weapon in the given weapon slot.

## Call this function on

    The player

## Example

    level.player setweaponslotweapon("primary", weapon);

## Minimum Number of arguments: 2

    1 : <weapon slot>: Valid weaponslots are "primary" and "primaryb".
    2 : <weapon name>: The name of the weapon to use in this slot.

## Number of optional arguments: 0

Return to Function List