Call of Duty Script Documentation

getweaponslotammo( <weapon slot> )


Module
Player


Summary


Gets the ammo count for the weapon in the given slot.

Call this function on


The player

Example


ammo = level.player getweaponslotammo("primary");

Minimum Number of arguments: 1


Number of optional arguments: 0



Return to Function List