Skip to main content

SetPlayerWeaponAmmo

Sets players weapon ammo.

  • player: parameter input should be in Player type
  • weaponHash: parameter input should be in WeaponHash type
  • ammo: parameter input should be in int type

{{#tag:syntaxhighlight| Player.SetPlayerWeaponAmmo(player, WeaponHash.Carbinerifle, 9999); |lang=csharp}} }}