BasePlayerGetWeaponData Method |
Namespace:
SampSharp.GameMode.World
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax public virtual void GetWeaponData(
int slot,
out Weapon weapon,
out int ammo
)
Parameters
- slot
- Type: SystemInt32
The weapon slot to get data for (0-12). - weapon
- Type: SampSharp.GameMode.DefinitionsWeapon
The variable in which to store the weapon, passed by reference. - ammo
- Type: SystemInt32
The variable in which to store the ammo, passed by reference.
See Also