removeWeaponAmmo
xPlayer.removeWeaponAmmo(weaponName, ammoCount)
This function removes the parsed ammo to the player weapon
Arguments
Argument | Data Type | Optional | Default Value | Explanation |
---|---|---|---|---|
weaponName | string | No | - | Weapon name |
ammoCount | number | No | - | Ammo count |