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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax public 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