Black Ops III

SetWeaponCosts

Sets the cost of a weapon for use by prompts

Example:

SetWeaponCosts( weapon, weapon.cost, weapon.ammoCost, weapon.secretshopperCost )

Parameters

ParameterSummary
*local client numThe local client num
*weaponThe weapon to add
*weaponCostCost to buy the weapon
*ammoCostCost to buy ammo
*playerAmmoCostCost to buy ammo through secret shopper

* = mandatory