Click or drag to resize

BasePlayerSetAmmo Method

Set the ammo of this BasePlayer's weapon.

Namespace:  SampSharp.GameMode.World
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public virtual void SetAmmo(
	Weapon weapon,
	int ammo
)

Parameters

weapon
Type: SampSharp.GameMode.DefinitionsWeapon
The weapon to set the ammo of.
ammo
Type: SystemInt32
The amount of ammo to set.
See Also