Skip to content
DizzasTeR edited this page Nov 17, 2020 · 5 revisions

Weapon Functions


Weapon Class

Static Functions

  • data(int weaponID, int field [, double value]):
    • returns the data for the weapon and field if no value is provided
    • sets the weapon field value if a value is provided
  • isFieldModified(int weaponID, int field) — Returns true if the data for the weaponID is modified on the given field
  • resetField(int weaponID, int field)
  • reset(int weaponID) — Reset all fields for this weapon
  • resetAll() — Reset ALL fields for ALL weapons

  • getID(string weaponName)
  • getName(int weaponID)
Clone this wiki locally