Call of Duty Script Documentation
getweaponslotammo( <weapon slot> )
ModulePlayer
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
1 : <weapon slot>: Valid weaponslots are "primary" and "primaryb".
Number of optional arguments: 0
Return to Function List