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