Call of Duty Script Documentation
setweaponslotammo( <weapon slot>, <ammo count> )
ModulePlayer
Summary
Sets the ammunition for the weapon in the given weapon slot.
Call this function on
The player
Example
level.player setweaponslotammo("primary", 125);
Minimum Number of arguments: 2
1 : <weapon slot>: Valid weaponslots are "primary" and "primaryb".
2 : <ammo count>: The amount of ammunition.
Number of optional arguments: 0
Return to Function List