-
Notifications
You must be signed in to change notification settings - Fork 1
Weapon Functions
DizzasTeR edited this page Nov 7, 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
-
getWeaponID(string weaponName)
-
getWeaponName(int weaponID)