WeaponDescriptor Properties

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

The WeaponDescriptor type exposes the following members.

Properties

  NameDescription
Public propertyAmmo
Gets the amount of ammo available for this weapon.
Public propertyAsset
Gets the asset of this weapon.
Public propertyHash
Gets the hash of this weapon.
Public propertyLoadedAmmo
Gets the amount of ammo currently in this weapon.
Public propertyMagazineSize
Gets the amount of ammo this weapon will have in its magazine after reloading.
Public propertyMaximumAmmo
Gets the maximum amount of ammo this weapon can hold.
Public propertyPed
Gets the owning Ped of this weapon.
Top
See Also

Reference