Documentation

PlayerWeapon

Constructible This class can not be instantiated from your script. Do not try to use the `new` keyword on this class. Auto Destroy Instances of this class will be deleted automatically. Custom Properties You cannot add your own properties to instances of this class. They will not be saved and can cause undefined behavior.

A Weapon that is currently in a Players inventory

Properties

Name Type Description
modelHash number read only model hash of the PlayerWeapon (TODO: reference to all hashes)
slotIndex number read only the weapon slot in the Players inventory
magazineAmmo number the ammunition left in the magazine
reserveAmmo number the ammunition left as reserve in the inventory

Functions

This class does not have any functions.

Stay informed

By becoming the newest member of our growing forums, we and hundreds of other players will always keep you up to date on everything JC3:MP related.