xPlayer.addWeaponAmmo

1
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