PlayerGetWeaponData Method |
Get the
Weapon and ammo in this player's weapon slot.
Namespace:
SampSharp.Entities.SAMP
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntaxpublic 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.Entities.SAMPWeapon
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