BasePlayerGetWeaponData Method |
Namespace:
SampSharp.GameMode.World
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntaxpublic 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