-
Notifications
You must be signed in to change notification settings - Fork 1
Weapon Functions
DizzasTeR edited this page Nov 17, 2020
·
5 revisions
- 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)