Click or drag to resize

BasePlayerGiveWeapon Method

Give this BasePlayer a Weapon with a specified amount of ammo.

Namespace:  SampSharp.GameMode.World
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public virtual void GiveWeapon(
	Weapon weapon,
	int ammo
)

Parameters

weapon
Type: SampSharp.GameMode.DefinitionsWeapon
The Weapon to give to this Player.
ammo
Type: SystemInt32
The amount of ammo to give to this Player.
See Also