Call of Duty Script Documentation

getweaponslotweapon( <weapon slot> )


Module
Player


Summary


Gets the name of the weapon in the given weapon slot.

Call this function on


The player

Example


playerWeapon[0] = level.player getweaponslotweapon("primary");

Minimum Number of arguments: 1


Number of optional arguments: 0



Return to Function List