@nativewrappers/redm 0.0.92 → 0.0.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Ammo.d.ts +79 -0
- package/Ammo.js +237 -0
- package/BufferedClass.d.ts +6 -0
- package/BufferedClass.js +29 -0
- package/Model.d.ts +2 -0
- package/Model.js +18 -4
- package/Weapons.d.ts +147 -0
- package/Weapons.js +443 -0
- package/common/Command.d.ts +3 -3
- package/common/Command.js +12 -9
- package/entities/HorsePeltEntries.d.ts +15 -0
- package/entities/HorsePeltEntries.js +57 -0
- package/entities/Ped.d.ts +18 -0
- package/entities/Ped.js +44 -1
- package/entities/Player.d.ts +2 -0
- package/entities/Player.js +3 -0
- package/index.d.ts +9 -0
- package/index.js +9 -0
- package/inventory/Inventory.d.ts +21 -0
- package/inventory/Inventory.js +70 -0
- package/inventory/InventoryGUID.d.ts +17 -0
- package/inventory/InventoryGUID.js +53 -0
- package/inventory/InventoryTypes.d.ts +37 -0
- package/inventory/InventoryTypes.js +47 -0
- package/models/AmmoModel.d.ts +3 -0
- package/models/AmmoModel.js +11 -0
- package/models/WeaponModel.d.ts +3 -0
- package/models/WeaponModel.js +11 -0
- package/package.json +1 -1
package/Weapons.js
ADDED
|
@@ -0,0 +1,443 @@
|
|
|
1
|
+
import { WeaponModel } from "./models/WeaponModel";
|
|
2
|
+
const WEAPON_MELEE_HATCHET_MELEEONLY = new WeaponModel("WEAPON_MELEE_HATCHET_MELEEONLY");
|
|
3
|
+
const WEAPON_MELEE_KNIFE_MINER = new WeaponModel("WEAPON_MELEE_KNIFE_MINER");
|
|
4
|
+
const WEAPON_MELEE_KNIFE_JAWBONE = new WeaponModel("WEAPON_MELEE_KNIFE_JAWBONE");
|
|
5
|
+
const WEAPON_MELEE_KNIFE_VAMPIRE = new WeaponModel("WEAPON_MELEE_KNIFE_VAMPIRE");
|
|
6
|
+
const WEAPON_MELEE_KNIFE_JOHN = new WeaponModel("WEAPON_MELEE_KNIFE_JOHN");
|
|
7
|
+
const WEAPON_MELEE_MACHETE = new WeaponModel("WEAPON_MELEE_MACHETE");
|
|
8
|
+
const WEAPON_MELEE_KNIFE_BEAR = new WeaponModel("WEAPON_MELEE_KNIFE_BEAR");
|
|
9
|
+
const WEAPON_MELEE_KNIFE_DUTCH = new WeaponModel("WEAPON_MELEE_KNIFE_DUTCH");
|
|
10
|
+
const WEAPON_MELEE_KNIFE_KIERAN = new WeaponModel("WEAPON_MELEE_KNIFE_KIERAN");
|
|
11
|
+
const WEAPON_MELEE_KNIFE_UNCLE = new WeaponModel("WEAPON_MELEE_KNIFE_UNCLE");
|
|
12
|
+
const WEAPON_MELEE_KNIFE_SEAN = new WeaponModel("WEAPON_MELEE_KNIFE_SEAN");
|
|
13
|
+
const WEAPON_MELEE_TORCH = new WeaponModel("WEAPON_MELEE_TORCH");
|
|
14
|
+
const WEAPON_MELEE_KNIFE_LENNY = new WeaponModel("WEAPON_MELEE_KNIFE_LENNY");
|
|
15
|
+
const WEAPON_MELEE_KNIFE_SADIE = new WeaponModel("WEAPON_MELEE_KNIFE_SADIE");
|
|
16
|
+
const WEAPON_MELEE_KNIFE_CHARLES = new WeaponModel("WEAPON_MELEE_KNIFE_CHARLES");
|
|
17
|
+
const WEAPON_MELEE_KNIFE_HOSEA = new WeaponModel("WEAPON_MELEE_KNIFE_HOSEA");
|
|
18
|
+
const WEAPON_MELEE_TORCH_CROWD = new WeaponModel("WEAPON_MELEE_TORCH_CROWD");
|
|
19
|
+
const WEAPON_MELEE_KNIFE_BILL = new WeaponModel("WEAPON_MELEE_KNIFE_BILL");
|
|
20
|
+
const WEAPON_MELEE_KNIFE_CIVIL_WAR = new WeaponModel("WEAPON_MELEE_KNIFE_CIVIL_WAR");
|
|
21
|
+
const WEAPON_MELEE_KNIFE = new WeaponModel("WEAPON_MELEE_KNIFE");
|
|
22
|
+
const WEAPON_MELEE_KNIFE_MICAH = new WeaponModel("WEAPON_MELEE_KNIFE_MICAH");
|
|
23
|
+
const WEAPON_MELEE_BROKEN_SWORD = new WeaponModel("WEAPON_MELEE_BROKEN_SWORD");
|
|
24
|
+
const WEAPON_MELEE_KNIFE_JAVIER = new WeaponModel("WEAPON_MELEE_KNIFE_JAVIER");
|
|
25
|
+
const WEAPON_PISTOL_VOLCANIC = new WeaponModel("WEAPON_PISTOL_VOLCANIC");
|
|
26
|
+
const WEAPON_PISTOL_MAUSER_DRUNK = new WeaponModel("WEAPON_PISTOL_MAUSER_DRUNK");
|
|
27
|
+
const WEAPON_PISTOL_M1899 = new WeaponModel("WEAPON_PISTOL_M1899");
|
|
28
|
+
const WEAPON_PISTOL_SEMIAUTO = new WeaponModel("WEAPON_PISTOL_SEMIAUTO");
|
|
29
|
+
const WEAPON_PISTOL_MAUSER = new WeaponModel("WEAPON_PISTOL_MAUSER");
|
|
30
|
+
const WEAPON_REPEATER_EVANS = new WeaponModel("WEAPON_REPEATER_EVANS");
|
|
31
|
+
const WEAPON_REPEATER_CARBINE_SADIE = new WeaponModel("WEAPON_REPEATER_CARBINE_SADIE");
|
|
32
|
+
const WEAPON_REPEATER_HENRY = new WeaponModel("WEAPON_REPEATER_HENRY");
|
|
33
|
+
const WEAPON_REPEATER_WINCHESTER = new WeaponModel("WEAPON_REPEATER_WINCHESTER");
|
|
34
|
+
const WEAPON_REPEATER_WINCHESTER_JOHN = new WeaponModel("WEAPON_REPEATER_WINCHESTER_JOHN");
|
|
35
|
+
const WEAPON_REPEATER_CARBINE = new WeaponModel("WEAPON_REPEATER_CARBINE");
|
|
36
|
+
const WEAPON_REVOLVER_DOUBLEACTION_MICAH_DUALWIELD = new WeaponModel(
|
|
37
|
+
"WEAPON_REVOLVER_DOUBLEACTION_MICAH_DUALWIELD"
|
|
38
|
+
);
|
|
39
|
+
const WEAPON_REVOLVER_DOUBLEACTION_MICAH = new WeaponModel("WEAPON_REVOLVER_DOUBLEACTION_MICAH");
|
|
40
|
+
const WEAPON_REVOLVER_SCHOFIELD_CALLOWAY = new WeaponModel("WEAPON_REVOLVER_SCHOFIELD_CALLOWAY");
|
|
41
|
+
const WEAPON_REVOLVER_DOUBLEACTION = new WeaponModel("WEAPON_REVOLVER_DOUBLEACTION");
|
|
42
|
+
const WEAPON_REVOLVER_CATTLEMAN = new WeaponModel("WEAPON_REVOLVER_CATTLEMAN");
|
|
43
|
+
const WEAPON_REVOLVER_CATTLEMAN_MEXICAN = new WeaponModel("WEAPON_REVOLVER_CATTLEMAN_MEXICAN");
|
|
44
|
+
const WEAPON_REVOLVER_CATTLEMAN_HOSEA_DUALWIELD = new WeaponModel("WEAPON_REVOLVER_CATTLEMAN_HOSEA_DUALWIELD");
|
|
45
|
+
const WEAPON_REVOLVER_DOUBLEACTION_EXOTIC = new WeaponModel("WEAPON_REVOLVER_DOUBLEACTION_EXOTIC");
|
|
46
|
+
const WEAPON_REVOLVER_CATTLEMAN_SEAN = new WeaponModel("WEAPON_REVOLVER_CATTLEMAN_SEAN");
|
|
47
|
+
const WEAPON_REVOLVER_CATTLEMAN_SADIE = new WeaponModel("WEAPON_REVOLVER_CATTLEMAN_SADIE");
|
|
48
|
+
const WEAPON_REVOLVER_DOUBLEACTION_JAVIER = new WeaponModel("WEAPON_REVOLVER_DOUBLEACTION_JAVIER");
|
|
49
|
+
const WEAPON_REVOLVER_LEMAT = new WeaponModel("WEAPON_REVOLVER_LEMAT");
|
|
50
|
+
const WEAPON_REVOLVER_SCHOFIELD_BILL = new WeaponModel("WEAPON_REVOLVER_SCHOFIELD_BILL");
|
|
51
|
+
const WEAPON_REVOLVER_SCHOFIELD = new WeaponModel("WEAPON_REVOLVER_SCHOFIELD");
|
|
52
|
+
const WEAPON_REVOLVER_CATTLEMAN_SADIE_DUALWIELD = new WeaponModel("WEAPON_REVOLVER_CATTLEMAN_SADIE_DUALWIELD");
|
|
53
|
+
const WEAPON_REVOLVER_DOUBLEACTION_GAMBLER = new WeaponModel("WEAPON_REVOLVER_DOUBLEACTION_GAMBLER");
|
|
54
|
+
const WEAPON_REVOLVER_CATTLEMAN_KIERAN = new WeaponModel("WEAPON_REVOLVER_CATTLEMAN_KIERAN");
|
|
55
|
+
const WEAPON_REVOLVER_SCHOFIELD_UNCLE = new WeaponModel("WEAPON_REVOLVER_SCHOFIELD_UNCLE");
|
|
56
|
+
const WEAPON_REVOLVER_CATTLEMAN_HOSEA = new WeaponModel("WEAPON_REVOLVER_CATTLEMAN_HOSEA");
|
|
57
|
+
const WEAPON_REVOLVER_CATTLEMAN_LENNY = new WeaponModel("WEAPON_REVOLVER_CATTLEMAN_LENNY");
|
|
58
|
+
const WEAPON_REVOLVER_CATTLEMAN_JOHN = new WeaponModel("WEAPON_REVOLVER_CATTLEMAN_JOHN");
|
|
59
|
+
const WEAPON_REVOLVER_SCHOFIELD_DUTCH_DUALWIELD = new WeaponModel("WEAPON_REVOLVER_SCHOFIELD_DUTCH_DUALWIELD");
|
|
60
|
+
const WEAPON_REVOLVER_SCHOFIELD_GOLDEN = new WeaponModel("WEAPON_REVOLVER_SCHOFIELD_GOLDEN");
|
|
61
|
+
const WEAPON_REVOLVER_CATTLEMAN_PIG = new WeaponModel("WEAPON_REVOLVER_CATTLEMAN_PIG");
|
|
62
|
+
const WEAPON_REVOLVER_SCHOFIELD_DUTCH = new WeaponModel("WEAPON_REVOLVER_SCHOFIELD_DUTCH");
|
|
63
|
+
const WEAPON_RIFLE_SPRINGFIELD = new WeaponModel("WEAPON_RIFLE_SPRINGFIELD");
|
|
64
|
+
const WEAPON_RIFLE_BOLTACTION = new WeaponModel("WEAPON_RIFLE_BOLTACTION");
|
|
65
|
+
const WEAPON_RIFLE_BOLTACTION_BILL = new WeaponModel("WEAPON_RIFLE_BOLTACTION_BILL");
|
|
66
|
+
const WEAPON_RIFLE_VARMINT = new WeaponModel("WEAPON_RIFLE_VARMINT");
|
|
67
|
+
const WEAPON_SHOTGUN_SAWEDOFF = new WeaponModel("WEAPON_SHOTGUN_SAWEDOFF");
|
|
68
|
+
const WEAPON_SHOTGUN_DOUBLEBARREL_EXOTIC = new WeaponModel("WEAPON_SHOTGUN_DOUBLEBARREL_EXOTIC");
|
|
69
|
+
const WEAPON_SHOTGUN_PUMP = new WeaponModel("WEAPON_SHOTGUN_PUMP");
|
|
70
|
+
const WEAPON_SHOTGUN_REPEATING = new WeaponModel("WEAPON_SHOTGUN_REPEATING");
|
|
71
|
+
const WEAPON_SHOTGUN_SEMIAUTO = new WeaponModel("WEAPON_SHOTGUN_SEMIAUTO");
|
|
72
|
+
const WEAPON_SHOTGUN_DOUBLEBARREL = new WeaponModel("WEAPON_SHOTGUN_DOUBLEBARREL");
|
|
73
|
+
const WEAPON_SHOTGUN_DOUBLEBARREL_UNCLE = new WeaponModel("WEAPON_SHOTGUN_DOUBLEBARREL_UNCLE");
|
|
74
|
+
const WEAPON_SHOTGUN_SAWEDOFF_CHARLES = new WeaponModel("WEAPON_SHOTGUN_SAWEDOFF_CHARLES");
|
|
75
|
+
const WEAPON_SHOTGUN_SEMIAUTO_HOSEA = new WeaponModel("WEAPON_SHOTGUN_SEMIAUTO_HOSEA");
|
|
76
|
+
const WEAPON_SNIPERRIFLE_ROLLINGBLOCK_LENNY = new WeaponModel("WEAPON_SNIPERRIFLE_ROLLINGBLOCK_LENNY");
|
|
77
|
+
const WEAPON_SNIPERRIFLE_ROLLINGBLOCK_EXOTIC = new WeaponModel("WEAPON_SNIPERRIFLE_ROLLINGBLOCK_EXOTIC");
|
|
78
|
+
const WEAPON_SNIPERRIFLE_CARCANO = new WeaponModel("WEAPON_SNIPERRIFLE_CARCANO");
|
|
79
|
+
const WEAPON_SNIPERRIFLE_ROLLINGBLOCK = new WeaponModel("WEAPON_SNIPERRIFLE_ROLLINGBLOCK");
|
|
80
|
+
const WEAPON_MELEE_HATCHET = new WeaponModel("WEAPON_MELEE_HATCHET");
|
|
81
|
+
const WEAPON_MELEE_HATCHET_HEWING = new WeaponModel("WEAPON_MELEE_HATCHET_HEWING");
|
|
82
|
+
const WEAPON_MELEE_ANCIENT_HATCHET = new WeaponModel("WEAPON_MELEE_ANCIENT_HATCHET");
|
|
83
|
+
const WEAPON_MELEE_HATCHET_HUNTER = new WeaponModel("WEAPON_MELEE_HATCHET_HUNTER");
|
|
84
|
+
const WEAPON_THROWN_THROWING_KNIVES_JAVIER = new WeaponModel("WEAPON_THROWN_THROWING_KNIVES_JAVIER");
|
|
85
|
+
const WEAPON_THROWN_MOLOTOV = new WeaponModel("WEAPON_THROWN_MOLOTOV");
|
|
86
|
+
const WEAPON_MELEE_HATCHET_VIKING = new WeaponModel("WEAPON_MELEE_HATCHET_VIKING");
|
|
87
|
+
const WEAPON_THROWN_TOMAHAWK_ANCIENT = new WeaponModel("WEAPON_THROWN_TOMAHAWK_ANCIENT");
|
|
88
|
+
const WEAPON_MELEE_HATCHET_DOUBLE_BIT_RUSTED = new WeaponModel("WEAPON_MELEE_HATCHET_DOUBLE_BIT_RUSTED");
|
|
89
|
+
const WEAPON_THROWN_TOMAHAWK = new WeaponModel("WEAPON_THROWN_TOMAHAWK");
|
|
90
|
+
const WEAPON_THROWN_DYNAMITE = new WeaponModel("WEAPON_THROWN_DYNAMITE");
|
|
91
|
+
const WEAPON_MELEE_HATCHET_DOUBLE_BIT = new WeaponModel("WEAPON_MELEE_HATCHET_DOUBLE_BIT");
|
|
92
|
+
const WEAPON_THROWN_THROWING_KNIVES = new WeaponModel("WEAPON_THROWN_THROWING_KNIVES");
|
|
93
|
+
const WEAPON_MELEE_HATCHET_HUNTER_RUSTED = new WeaponModel("WEAPON_MELEE_HATCHET_HUNTER_RUSTED");
|
|
94
|
+
const WEAPON_MELEE_CLEAVER = new WeaponModel("WEAPON_MELEE_CLEAVER");
|
|
95
|
+
const WEAPON_MELEE_LANTERN = new WeaponModel("WEAPON_MELEE_LANTERN");
|
|
96
|
+
const WEAPON_MELEE_DAVY_LANTERN = new WeaponModel("WEAPON_MELEE_DAVY_LANTERN");
|
|
97
|
+
const WEAPON_MELEE_LANTERN_ELECTRIC = new WeaponModel("WEAPON_MELEE_LANTERN_ELECTRIC");
|
|
98
|
+
const WEAPON_KIT_BINOCULARS = new WeaponModel("WEAPON_KIT_BINOCULARS");
|
|
99
|
+
const WEAPON_KIT_CAMERA = new WeaponModel("WEAPON_KIT_CAMERA");
|
|
100
|
+
const WEAPON_KIT_DETECTOR = new WeaponModel("WEAPON_KIT_DETECTOR");
|
|
101
|
+
const WEAPON_BOW_CHARLES = new WeaponModel("WEAPON_BOW_CHARLES");
|
|
102
|
+
const WEAPON_BOW = new WeaponModel("WEAPON_BOW");
|
|
103
|
+
const WEAPON_FISHINGROD = new WeaponModel("WEAPON_FISHINGROD");
|
|
104
|
+
const WEAPON_LASSO = new WeaponModel("WEAPON_LASSO");
|
|
105
|
+
const WEAPON_WOLF = new WeaponModel("WEAPON_WOLF");
|
|
106
|
+
const WEAPON_WOLF_MEDIUM = new WeaponModel("WEAPON_WOLF_MEDIUM");
|
|
107
|
+
const WEAPON_WOLF_SMALL = new WeaponModel("WEAPON_WOLF_SMALL");
|
|
108
|
+
const WEAPON_ALLIGATOR = new WeaponModel("WEAPON_ALLIGATOR");
|
|
109
|
+
const WEAPON_ANIMAL = new WeaponModel("WEAPON_ANIMAL");
|
|
110
|
+
const WEAPON_BADGER = new WeaponModel("WEAPON_BADGER");
|
|
111
|
+
const WEAPON_BEAR = new WeaponModel("WEAPON_BEAR");
|
|
112
|
+
const WEAPON_BEAVER = new WeaponModel("WEAPON_BEAVER");
|
|
113
|
+
const WEAPON_COUGAR = new WeaponModel("WEAPON_COUGAR");
|
|
114
|
+
const WEAPON_COYOTE = new WeaponModel("WEAPON_COYOTE");
|
|
115
|
+
const WEAPON_DEER = new WeaponModel("WEAPON_DEER");
|
|
116
|
+
const WEAPON_FOX = new WeaponModel("WEAPON_FOX");
|
|
117
|
+
const WEAPON_HORSE = new WeaponModel("WEAPON_HORSE");
|
|
118
|
+
const WEAPON_MUSKRAT = new WeaponModel("WEAPON_MUSKRAT");
|
|
119
|
+
const WEAPON_RACCOON = new WeaponModel("WEAPON_RACCOON");
|
|
120
|
+
const WEAPON_SNAKE = new WeaponModel("WEAPON_SNAKE");
|
|
121
|
+
const WEAPON_FALL = new WeaponModel("WEAPON_FALL");
|
|
122
|
+
const WEAPON_FIRE = new WeaponModel("WEAPON_FIRE");
|
|
123
|
+
const WEAPON_BLEEDING = new WeaponModel("WEAPON_BLEEDING");
|
|
124
|
+
const WEAPON_DROWNING = new WeaponModel("WEAPON_DROWNING");
|
|
125
|
+
const WEAPON_DROWNING_IN_VEHICLE = new WeaponModel("WEAPON_DROWNING_IN_VEHICLE");
|
|
126
|
+
const WEAPON_EXPLOSION = new WeaponModel("WEAPON_EXPLOSION");
|
|
127
|
+
const WEAPON_RAMMED_BY_CAR = new WeaponModel("WEAPON_RAMMED_BY_CAR");
|
|
128
|
+
const WEAPON_RUN_OVER_BY_CAR = new WeaponModel("WEAPON_RUN_OVER_BY_CAR");
|
|
129
|
+
const WEAPON_KIT_CAMERA_ADVANCED = new WeaponModel("WEAPON_KIT_CAMERA_ADVANCED");
|
|
130
|
+
const WEAPON_MELEE_MACHETE_HORROR = new WeaponModel("WEAPON_MELEE_MACHETE_HORROR");
|
|
131
|
+
const WEAPON_BOW_IMPROVED = new WeaponModel("WEAPON_BOW_IMPROVED");
|
|
132
|
+
const WEAPON_RIFLE_ELEPHANT = new WeaponModel("WEAPON_RIFLE_ELEPHANT");
|
|
133
|
+
const WEAPON_REVOLVER_NAVY = new WeaponModel("WEAPON_REVOLVER_NAVY");
|
|
134
|
+
const WEAPON_LASSO_REINFORCED = new WeaponModel("WEAPON_LASSO_REINFORCED");
|
|
135
|
+
const WEAPON_KIT_BINOCULARS_IMPROVED = new WeaponModel("WEAPON_KIT_BINOCULARS_IMPROVED");
|
|
136
|
+
const WEAPON_MELEE_KNIFE_TRADER = new WeaponModel("WEAPON_MELEE_KNIFE_TRADER");
|
|
137
|
+
const WEAPON_MELEE_MACHETE_COLLECTOR = new WeaponModel("WEAPON_MELEE_MACHETE_COLLECTOR");
|
|
138
|
+
const WEAPON_MOONSHINEJUG_MP = new WeaponModel("WEAPON_MOONSHINEJUG_MP");
|
|
139
|
+
const WEAPON_THROWN_BOLAS = new WeaponModel("WEAPON_THROWN_BOLAS");
|
|
140
|
+
const WEAPON_THROWN_POISONBOTTLE = new WeaponModel("WEAPON_THROWN_POISONBOTTLE");
|
|
141
|
+
const WEAPON_KIT_METAL_DETECTOR = new WeaponModel("WEAPON_KIT_METAL_DETECTOR");
|
|
142
|
+
const WEAPON_REVOLVER_NAVY_CROSSOVER = new WeaponModel("WEAPON_REVOLVER_NAVY_CROSSOVER");
|
|
143
|
+
const WEAPON_THROWN_BOLAS_HAWKMOTH = new WeaponModel("WEAPON_THROWN_BOLAS_HAWKMOTH");
|
|
144
|
+
const WEAPON_THROWN_BOLAS_IRONSPIKED = new WeaponModel("WEAPON_THROWN_BOLAS_IRONSPIKED");
|
|
145
|
+
const WEAPON_THROWN_BOLAS_INTERTWINED = new WeaponModel("WEAPON_THROWN_BOLAS_INTERTWINED");
|
|
146
|
+
const WEAPON_MELEE_KNIFE_HORROR = new WeaponModel("WEAPON_MELEE_KNIFE_HORROR");
|
|
147
|
+
const WEAPON_MELEE_KNIFE_RUSTIC = new WeaponModel("WEAPON_MELEE_KNIFE_RUSTIC");
|
|
148
|
+
const WEAPON_MELEE_LANTERN_HALLOWEEN = new WeaponModel("WEAPON_MELEE_LANTERN_HALLOWEEN");
|
|
149
|
+
const WEAPONS_MAP = /* @__PURE__ */ new Map([
|
|
150
|
+
["weapon_melee_hatchet_meleeonly", WEAPON_MELEE_HATCHET_MELEEONLY],
|
|
151
|
+
["weapon_melee_knife_miner", WEAPON_MELEE_KNIFE_MINER],
|
|
152
|
+
["weapon_melee_knife_jawbone", WEAPON_MELEE_KNIFE_JAWBONE],
|
|
153
|
+
["weapon_melee_knife_vampire", WEAPON_MELEE_KNIFE_VAMPIRE],
|
|
154
|
+
["weapon_melee_knife_john", WEAPON_MELEE_KNIFE_JOHN],
|
|
155
|
+
["weapon_melee_machete", WEAPON_MELEE_MACHETE],
|
|
156
|
+
["weapon_melee_knife_bear", WEAPON_MELEE_KNIFE_BEAR],
|
|
157
|
+
["weapon_melee_knife_dutch", WEAPON_MELEE_KNIFE_DUTCH],
|
|
158
|
+
["weapon_melee_knife_kieran", WEAPON_MELEE_KNIFE_KIERAN],
|
|
159
|
+
["weapon_melee_knife_uncle", WEAPON_MELEE_KNIFE_UNCLE],
|
|
160
|
+
["weapon_melee_knife_sean", WEAPON_MELEE_KNIFE_SEAN],
|
|
161
|
+
["weapon_melee_torch", WEAPON_MELEE_TORCH],
|
|
162
|
+
["weapon_melee_knife_lenny", WEAPON_MELEE_KNIFE_LENNY],
|
|
163
|
+
["weapon_melee_knife_sadie", WEAPON_MELEE_KNIFE_SADIE],
|
|
164
|
+
["weapon_melee_knife_charles", WEAPON_MELEE_KNIFE_CHARLES],
|
|
165
|
+
["weapon_melee_knife_hosea", WEAPON_MELEE_KNIFE_HOSEA],
|
|
166
|
+
["weapon_melee_torch_crowd", WEAPON_MELEE_TORCH_CROWD],
|
|
167
|
+
["weapon_melee_knife_bill", WEAPON_MELEE_KNIFE_BILL],
|
|
168
|
+
["weapon_melee_knife_civil_war", WEAPON_MELEE_KNIFE_CIVIL_WAR],
|
|
169
|
+
["weapon_melee_knife", WEAPON_MELEE_KNIFE],
|
|
170
|
+
["weapon_melee_knife_micah", WEAPON_MELEE_KNIFE_MICAH],
|
|
171
|
+
["weapon_melee_broken_sword", WEAPON_MELEE_BROKEN_SWORD],
|
|
172
|
+
["weapon_melee_knife_javier", WEAPON_MELEE_KNIFE_JAVIER],
|
|
173
|
+
["weapon_pistol_volcanic", WEAPON_PISTOL_VOLCANIC],
|
|
174
|
+
["weapon_pistol_mauser_drunk", WEAPON_PISTOL_MAUSER_DRUNK],
|
|
175
|
+
["weapon_pistol_m1899", WEAPON_PISTOL_M1899],
|
|
176
|
+
["weapon_pistol_semiauto", WEAPON_PISTOL_SEMIAUTO],
|
|
177
|
+
["weapon_pistol_mauser", WEAPON_PISTOL_MAUSER],
|
|
178
|
+
["weapon_repeater_evans", WEAPON_REPEATER_EVANS],
|
|
179
|
+
["weapon_repeater_carbine_sadie", WEAPON_REPEATER_CARBINE_SADIE],
|
|
180
|
+
["weapon_repeater_henry", WEAPON_REPEATER_HENRY],
|
|
181
|
+
["weapon_repeater_winchester", WEAPON_REPEATER_WINCHESTER],
|
|
182
|
+
["weapon_repeater_winchester_john", WEAPON_REPEATER_WINCHESTER_JOHN],
|
|
183
|
+
["weapon_repeater_carbine", WEAPON_REPEATER_CARBINE],
|
|
184
|
+
["weapon_revolver_doubleaction_micah_dualwield", WEAPON_REVOLVER_DOUBLEACTION_MICAH_DUALWIELD],
|
|
185
|
+
["weapon_revolver_doubleaction_micah", WEAPON_REVOLVER_DOUBLEACTION_MICAH],
|
|
186
|
+
["weapon_revolver_schofield_calloway", WEAPON_REVOLVER_SCHOFIELD_CALLOWAY],
|
|
187
|
+
["weapon_revolver_doubleaction", WEAPON_REVOLVER_DOUBLEACTION],
|
|
188
|
+
["weapon_revolver_cattleman", WEAPON_REVOLVER_CATTLEMAN],
|
|
189
|
+
["weapon_revolver_cattleman_mexican", WEAPON_REVOLVER_CATTLEMAN_MEXICAN],
|
|
190
|
+
["weapon_revolver_cattleman_hosea_dualwield", WEAPON_REVOLVER_CATTLEMAN_HOSEA_DUALWIELD],
|
|
191
|
+
["weapon_revolver_doubleaction_exotic", WEAPON_REVOLVER_DOUBLEACTION_EXOTIC],
|
|
192
|
+
["weapon_revolver_cattleman_sean", WEAPON_REVOLVER_CATTLEMAN_SEAN],
|
|
193
|
+
["weapon_revolver_cattleman_sadie", WEAPON_REVOLVER_CATTLEMAN_SADIE],
|
|
194
|
+
["weapon_revolver_doubleaction_javier", WEAPON_REVOLVER_DOUBLEACTION_JAVIER],
|
|
195
|
+
["weapon_revolver_lemat", WEAPON_REVOLVER_LEMAT],
|
|
196
|
+
["weapon_revolver_schofield_bill", WEAPON_REVOLVER_SCHOFIELD_BILL],
|
|
197
|
+
["weapon_revolver_schofield", WEAPON_REVOLVER_SCHOFIELD],
|
|
198
|
+
["weapon_revolver_cattleman_sadie_dualwield", WEAPON_REVOLVER_CATTLEMAN_SADIE_DUALWIELD],
|
|
199
|
+
["weapon_revolver_doubleaction_gambler", WEAPON_REVOLVER_DOUBLEACTION_GAMBLER],
|
|
200
|
+
["weapon_revolver_cattleman_kieran", WEAPON_REVOLVER_CATTLEMAN_KIERAN],
|
|
201
|
+
["weapon_revolver_schofield_uncle", WEAPON_REVOLVER_SCHOFIELD_UNCLE],
|
|
202
|
+
["weapon_revolver_cattleman_hosea", WEAPON_REVOLVER_CATTLEMAN_HOSEA],
|
|
203
|
+
["weapon_revolver_cattleman_lenny", WEAPON_REVOLVER_CATTLEMAN_LENNY],
|
|
204
|
+
["weapon_revolver_cattleman_john", WEAPON_REVOLVER_CATTLEMAN_JOHN],
|
|
205
|
+
["weapon_revolver_schofield_dutch_dualwield", WEAPON_REVOLVER_SCHOFIELD_DUTCH_DUALWIELD],
|
|
206
|
+
["weapon_revolver_schofield_golden", WEAPON_REVOLVER_SCHOFIELD_GOLDEN],
|
|
207
|
+
["weapon_revolver_cattleman_pig", WEAPON_REVOLVER_CATTLEMAN_PIG],
|
|
208
|
+
["weapon_revolver_schofield_dutch", WEAPON_REVOLVER_SCHOFIELD_DUTCH],
|
|
209
|
+
["weapon_rifle_springfield", WEAPON_RIFLE_SPRINGFIELD],
|
|
210
|
+
["weapon_rifle_boltaction", WEAPON_RIFLE_BOLTACTION],
|
|
211
|
+
["weapon_rifle_boltaction_bill", WEAPON_RIFLE_BOLTACTION_BILL],
|
|
212
|
+
["weapon_rifle_varmint", WEAPON_RIFLE_VARMINT],
|
|
213
|
+
["weapon_shotgun_sawedoff", WEAPON_SHOTGUN_SAWEDOFF],
|
|
214
|
+
["weapon_shotgun_doublebarrel_exotic", WEAPON_SHOTGUN_DOUBLEBARREL_EXOTIC],
|
|
215
|
+
["weapon_shotgun_pump", WEAPON_SHOTGUN_PUMP],
|
|
216
|
+
["weapon_shotgun_repeating", WEAPON_SHOTGUN_REPEATING],
|
|
217
|
+
["weapon_shotgun_semiauto", WEAPON_SHOTGUN_SEMIAUTO],
|
|
218
|
+
["weapon_shotgun_doublebarrel", WEAPON_SHOTGUN_DOUBLEBARREL],
|
|
219
|
+
["weapon_shotgun_doublebarrel_uncle", WEAPON_SHOTGUN_DOUBLEBARREL_UNCLE],
|
|
220
|
+
["weapon_shotgun_sawedoff_charles", WEAPON_SHOTGUN_SAWEDOFF_CHARLES],
|
|
221
|
+
["weapon_shotgun_semiauto_hosea", WEAPON_SHOTGUN_SEMIAUTO_HOSEA],
|
|
222
|
+
["weapon_sniperrifle_rollingblock_lenny", WEAPON_SNIPERRIFLE_ROLLINGBLOCK_LENNY],
|
|
223
|
+
["weapon_sniperrifle_rollingblock_exotic", WEAPON_SNIPERRIFLE_ROLLINGBLOCK_EXOTIC],
|
|
224
|
+
["weapon_sniperrifle_carcano", WEAPON_SNIPERRIFLE_CARCANO],
|
|
225
|
+
["weapon_sniperrifle_rollingblock", WEAPON_SNIPERRIFLE_ROLLINGBLOCK],
|
|
226
|
+
["weapon_melee_hatchet", WEAPON_MELEE_HATCHET],
|
|
227
|
+
["weapon_melee_hatchet_hewing", WEAPON_MELEE_HATCHET_HEWING],
|
|
228
|
+
["weapon_melee_ancient_hatchet", WEAPON_MELEE_ANCIENT_HATCHET],
|
|
229
|
+
["weapon_melee_hatchet_hunter", WEAPON_MELEE_HATCHET_HUNTER],
|
|
230
|
+
["weapon_thrown_throwing_knives_javier", WEAPON_THROWN_THROWING_KNIVES_JAVIER],
|
|
231
|
+
["weapon_thrown_molotov", WEAPON_THROWN_MOLOTOV],
|
|
232
|
+
["weapon_melee_hatchet_viking", WEAPON_MELEE_HATCHET_VIKING],
|
|
233
|
+
["weapon_thrown_tomahawk_ancient", WEAPON_THROWN_TOMAHAWK_ANCIENT],
|
|
234
|
+
["weapon_melee_hatchet_double_bit_rusted", WEAPON_MELEE_HATCHET_DOUBLE_BIT_RUSTED],
|
|
235
|
+
["weapon_thrown_tomahawk", WEAPON_THROWN_TOMAHAWK],
|
|
236
|
+
["weapon_thrown_dynamite", WEAPON_THROWN_DYNAMITE],
|
|
237
|
+
["weapon_melee_hatchet_double_bit", WEAPON_MELEE_HATCHET_DOUBLE_BIT],
|
|
238
|
+
["weapon_thrown_throwing_knives", WEAPON_THROWN_THROWING_KNIVES],
|
|
239
|
+
["weapon_melee_hatchet_hunter_rusted", WEAPON_MELEE_HATCHET_HUNTER_RUSTED],
|
|
240
|
+
["weapon_melee_cleaver", WEAPON_MELEE_CLEAVER],
|
|
241
|
+
["weapon_melee_lantern", WEAPON_MELEE_LANTERN],
|
|
242
|
+
["weapon_melee_davy_lantern", WEAPON_MELEE_DAVY_LANTERN],
|
|
243
|
+
["weapon_melee_lantern_electric", WEAPON_MELEE_LANTERN_ELECTRIC],
|
|
244
|
+
["weapon_kit_binoculars", WEAPON_KIT_BINOCULARS],
|
|
245
|
+
["weapon_kit_camera", WEAPON_KIT_CAMERA],
|
|
246
|
+
["weapon_kit_detector", WEAPON_KIT_DETECTOR],
|
|
247
|
+
["weapon_bow_charles", WEAPON_BOW_CHARLES],
|
|
248
|
+
["weapon_bow", WEAPON_BOW],
|
|
249
|
+
["weapon_fishingrod", WEAPON_FISHINGROD],
|
|
250
|
+
["weapon_lasso", WEAPON_LASSO],
|
|
251
|
+
["weapon_wolf", WEAPON_WOLF],
|
|
252
|
+
["weapon_wolf_medium", WEAPON_WOLF_MEDIUM],
|
|
253
|
+
["weapon_wolf_small", WEAPON_WOLF_SMALL],
|
|
254
|
+
["weapon_alligator", WEAPON_ALLIGATOR],
|
|
255
|
+
["weapon_animal", WEAPON_ANIMAL],
|
|
256
|
+
["weapon_badger", WEAPON_BADGER],
|
|
257
|
+
["weapon_bear", WEAPON_BEAR],
|
|
258
|
+
["weapon_beaver", WEAPON_BEAVER],
|
|
259
|
+
["weapon_cougar", WEAPON_COUGAR],
|
|
260
|
+
["weapon_coyote", WEAPON_COYOTE],
|
|
261
|
+
["weapon_deer", WEAPON_DEER],
|
|
262
|
+
["weapon_fox", WEAPON_FOX],
|
|
263
|
+
["weapon_horse", WEAPON_HORSE],
|
|
264
|
+
["weapon_muskrat", WEAPON_MUSKRAT],
|
|
265
|
+
["weapon_raccoon", WEAPON_RACCOON],
|
|
266
|
+
["weapon_snake", WEAPON_SNAKE],
|
|
267
|
+
["weapon_fall", WEAPON_FALL],
|
|
268
|
+
["weapon_fire", WEAPON_FIRE],
|
|
269
|
+
["weapon_bleeding", WEAPON_BLEEDING],
|
|
270
|
+
["weapon_drowning", WEAPON_DROWNING],
|
|
271
|
+
["weapon_drowning_in_vehicle", WEAPON_DROWNING_IN_VEHICLE],
|
|
272
|
+
["weapon_explosion", WEAPON_EXPLOSION],
|
|
273
|
+
["weapon_rammed_by_car", WEAPON_RAMMED_BY_CAR],
|
|
274
|
+
["weapon_run_over_by_car", WEAPON_RUN_OVER_BY_CAR],
|
|
275
|
+
["weapon_kit_camera_advanced", WEAPON_KIT_CAMERA_ADVANCED],
|
|
276
|
+
["weapon_melee_machete_horror", WEAPON_MELEE_MACHETE_HORROR],
|
|
277
|
+
["weapon_bow_improved", WEAPON_BOW_IMPROVED],
|
|
278
|
+
["weapon_rifle_elephant", WEAPON_RIFLE_ELEPHANT],
|
|
279
|
+
["weapon_revolver_navy", WEAPON_REVOLVER_NAVY],
|
|
280
|
+
["weapon_lasso_reinforced", WEAPON_LASSO_REINFORCED],
|
|
281
|
+
["weapon_kit_binoculars_improved", WEAPON_KIT_BINOCULARS_IMPROVED],
|
|
282
|
+
["weapon_melee_knife_trader", WEAPON_MELEE_KNIFE_TRADER],
|
|
283
|
+
["weapon_melee_machete_collector", WEAPON_MELEE_MACHETE_COLLECTOR],
|
|
284
|
+
["weapon_moonshinejug_mp", WEAPON_MOONSHINEJUG_MP],
|
|
285
|
+
["weapon_thrown_bolas", WEAPON_THROWN_BOLAS],
|
|
286
|
+
["weapon_thrown_poisonbottle", WEAPON_THROWN_POISONBOTTLE],
|
|
287
|
+
["weapon_kit_metal_detector", WEAPON_KIT_METAL_DETECTOR],
|
|
288
|
+
["weapon_revolver_navy_crossover", WEAPON_REVOLVER_NAVY_CROSSOVER],
|
|
289
|
+
["weapon_thrown_bolas_hawkmoth", WEAPON_THROWN_BOLAS_HAWKMOTH],
|
|
290
|
+
["weapon_thrown_bolas_ironspiked", WEAPON_THROWN_BOLAS_IRONSPIKED],
|
|
291
|
+
["weapon_thrown_bolas_intertwined", WEAPON_THROWN_BOLAS_INTERTWINED],
|
|
292
|
+
["weapon_melee_knife_horror", WEAPON_MELEE_KNIFE_HORROR],
|
|
293
|
+
["weapon_melee_knife_rustic", WEAPON_MELEE_KNIFE_RUSTIC],
|
|
294
|
+
["weapon_melee_lantern_halloween", WEAPON_MELEE_LANTERN_HALLOWEEN]
|
|
295
|
+
]);
|
|
296
|
+
export {
|
|
297
|
+
WEAPONS_MAP,
|
|
298
|
+
WEAPON_ALLIGATOR,
|
|
299
|
+
WEAPON_ANIMAL,
|
|
300
|
+
WEAPON_BADGER,
|
|
301
|
+
WEAPON_BEAR,
|
|
302
|
+
WEAPON_BEAVER,
|
|
303
|
+
WEAPON_BLEEDING,
|
|
304
|
+
WEAPON_BOW,
|
|
305
|
+
WEAPON_BOW_CHARLES,
|
|
306
|
+
WEAPON_BOW_IMPROVED,
|
|
307
|
+
WEAPON_COUGAR,
|
|
308
|
+
WEAPON_COYOTE,
|
|
309
|
+
WEAPON_DEER,
|
|
310
|
+
WEAPON_DROWNING,
|
|
311
|
+
WEAPON_DROWNING_IN_VEHICLE,
|
|
312
|
+
WEAPON_EXPLOSION,
|
|
313
|
+
WEAPON_FALL,
|
|
314
|
+
WEAPON_FIRE,
|
|
315
|
+
WEAPON_FISHINGROD,
|
|
316
|
+
WEAPON_FOX,
|
|
317
|
+
WEAPON_HORSE,
|
|
318
|
+
WEAPON_KIT_BINOCULARS,
|
|
319
|
+
WEAPON_KIT_BINOCULARS_IMPROVED,
|
|
320
|
+
WEAPON_KIT_CAMERA,
|
|
321
|
+
WEAPON_KIT_CAMERA_ADVANCED,
|
|
322
|
+
WEAPON_KIT_DETECTOR,
|
|
323
|
+
WEAPON_KIT_METAL_DETECTOR,
|
|
324
|
+
WEAPON_LASSO,
|
|
325
|
+
WEAPON_LASSO_REINFORCED,
|
|
326
|
+
WEAPON_MELEE_ANCIENT_HATCHET,
|
|
327
|
+
WEAPON_MELEE_BROKEN_SWORD,
|
|
328
|
+
WEAPON_MELEE_CLEAVER,
|
|
329
|
+
WEAPON_MELEE_DAVY_LANTERN,
|
|
330
|
+
WEAPON_MELEE_HATCHET,
|
|
331
|
+
WEAPON_MELEE_HATCHET_DOUBLE_BIT,
|
|
332
|
+
WEAPON_MELEE_HATCHET_DOUBLE_BIT_RUSTED,
|
|
333
|
+
WEAPON_MELEE_HATCHET_HEWING,
|
|
334
|
+
WEAPON_MELEE_HATCHET_HUNTER,
|
|
335
|
+
WEAPON_MELEE_HATCHET_HUNTER_RUSTED,
|
|
336
|
+
WEAPON_MELEE_HATCHET_MELEEONLY,
|
|
337
|
+
WEAPON_MELEE_HATCHET_VIKING,
|
|
338
|
+
WEAPON_MELEE_KNIFE,
|
|
339
|
+
WEAPON_MELEE_KNIFE_BEAR,
|
|
340
|
+
WEAPON_MELEE_KNIFE_BILL,
|
|
341
|
+
WEAPON_MELEE_KNIFE_CHARLES,
|
|
342
|
+
WEAPON_MELEE_KNIFE_CIVIL_WAR,
|
|
343
|
+
WEAPON_MELEE_KNIFE_DUTCH,
|
|
344
|
+
WEAPON_MELEE_KNIFE_HORROR,
|
|
345
|
+
WEAPON_MELEE_KNIFE_HOSEA,
|
|
346
|
+
WEAPON_MELEE_KNIFE_JAVIER,
|
|
347
|
+
WEAPON_MELEE_KNIFE_JAWBONE,
|
|
348
|
+
WEAPON_MELEE_KNIFE_JOHN,
|
|
349
|
+
WEAPON_MELEE_KNIFE_KIERAN,
|
|
350
|
+
WEAPON_MELEE_KNIFE_LENNY,
|
|
351
|
+
WEAPON_MELEE_KNIFE_MICAH,
|
|
352
|
+
WEAPON_MELEE_KNIFE_MINER,
|
|
353
|
+
WEAPON_MELEE_KNIFE_RUSTIC,
|
|
354
|
+
WEAPON_MELEE_KNIFE_SADIE,
|
|
355
|
+
WEAPON_MELEE_KNIFE_SEAN,
|
|
356
|
+
WEAPON_MELEE_KNIFE_TRADER,
|
|
357
|
+
WEAPON_MELEE_KNIFE_UNCLE,
|
|
358
|
+
WEAPON_MELEE_KNIFE_VAMPIRE,
|
|
359
|
+
WEAPON_MELEE_LANTERN,
|
|
360
|
+
WEAPON_MELEE_LANTERN_ELECTRIC,
|
|
361
|
+
WEAPON_MELEE_LANTERN_HALLOWEEN,
|
|
362
|
+
WEAPON_MELEE_MACHETE,
|
|
363
|
+
WEAPON_MELEE_MACHETE_COLLECTOR,
|
|
364
|
+
WEAPON_MELEE_MACHETE_HORROR,
|
|
365
|
+
WEAPON_MELEE_TORCH,
|
|
366
|
+
WEAPON_MELEE_TORCH_CROWD,
|
|
367
|
+
WEAPON_MOONSHINEJUG_MP,
|
|
368
|
+
WEAPON_MUSKRAT,
|
|
369
|
+
WEAPON_PISTOL_M1899,
|
|
370
|
+
WEAPON_PISTOL_MAUSER,
|
|
371
|
+
WEAPON_PISTOL_MAUSER_DRUNK,
|
|
372
|
+
WEAPON_PISTOL_SEMIAUTO,
|
|
373
|
+
WEAPON_PISTOL_VOLCANIC,
|
|
374
|
+
WEAPON_RACCOON,
|
|
375
|
+
WEAPON_RAMMED_BY_CAR,
|
|
376
|
+
WEAPON_REPEATER_CARBINE,
|
|
377
|
+
WEAPON_REPEATER_CARBINE_SADIE,
|
|
378
|
+
WEAPON_REPEATER_EVANS,
|
|
379
|
+
WEAPON_REPEATER_HENRY,
|
|
380
|
+
WEAPON_REPEATER_WINCHESTER,
|
|
381
|
+
WEAPON_REPEATER_WINCHESTER_JOHN,
|
|
382
|
+
WEAPON_REVOLVER_CATTLEMAN,
|
|
383
|
+
WEAPON_REVOLVER_CATTLEMAN_HOSEA,
|
|
384
|
+
WEAPON_REVOLVER_CATTLEMAN_HOSEA_DUALWIELD,
|
|
385
|
+
WEAPON_REVOLVER_CATTLEMAN_JOHN,
|
|
386
|
+
WEAPON_REVOLVER_CATTLEMAN_KIERAN,
|
|
387
|
+
WEAPON_REVOLVER_CATTLEMAN_LENNY,
|
|
388
|
+
WEAPON_REVOLVER_CATTLEMAN_MEXICAN,
|
|
389
|
+
WEAPON_REVOLVER_CATTLEMAN_PIG,
|
|
390
|
+
WEAPON_REVOLVER_CATTLEMAN_SADIE,
|
|
391
|
+
WEAPON_REVOLVER_CATTLEMAN_SADIE_DUALWIELD,
|
|
392
|
+
WEAPON_REVOLVER_CATTLEMAN_SEAN,
|
|
393
|
+
WEAPON_REVOLVER_DOUBLEACTION,
|
|
394
|
+
WEAPON_REVOLVER_DOUBLEACTION_EXOTIC,
|
|
395
|
+
WEAPON_REVOLVER_DOUBLEACTION_GAMBLER,
|
|
396
|
+
WEAPON_REVOLVER_DOUBLEACTION_JAVIER,
|
|
397
|
+
WEAPON_REVOLVER_DOUBLEACTION_MICAH,
|
|
398
|
+
WEAPON_REVOLVER_DOUBLEACTION_MICAH_DUALWIELD,
|
|
399
|
+
WEAPON_REVOLVER_LEMAT,
|
|
400
|
+
WEAPON_REVOLVER_NAVY,
|
|
401
|
+
WEAPON_REVOLVER_NAVY_CROSSOVER,
|
|
402
|
+
WEAPON_REVOLVER_SCHOFIELD,
|
|
403
|
+
WEAPON_REVOLVER_SCHOFIELD_BILL,
|
|
404
|
+
WEAPON_REVOLVER_SCHOFIELD_CALLOWAY,
|
|
405
|
+
WEAPON_REVOLVER_SCHOFIELD_DUTCH,
|
|
406
|
+
WEAPON_REVOLVER_SCHOFIELD_DUTCH_DUALWIELD,
|
|
407
|
+
WEAPON_REVOLVER_SCHOFIELD_GOLDEN,
|
|
408
|
+
WEAPON_REVOLVER_SCHOFIELD_UNCLE,
|
|
409
|
+
WEAPON_RIFLE_BOLTACTION,
|
|
410
|
+
WEAPON_RIFLE_BOLTACTION_BILL,
|
|
411
|
+
WEAPON_RIFLE_ELEPHANT,
|
|
412
|
+
WEAPON_RIFLE_SPRINGFIELD,
|
|
413
|
+
WEAPON_RIFLE_VARMINT,
|
|
414
|
+
WEAPON_RUN_OVER_BY_CAR,
|
|
415
|
+
WEAPON_SHOTGUN_DOUBLEBARREL,
|
|
416
|
+
WEAPON_SHOTGUN_DOUBLEBARREL_EXOTIC,
|
|
417
|
+
WEAPON_SHOTGUN_DOUBLEBARREL_UNCLE,
|
|
418
|
+
WEAPON_SHOTGUN_PUMP,
|
|
419
|
+
WEAPON_SHOTGUN_REPEATING,
|
|
420
|
+
WEAPON_SHOTGUN_SAWEDOFF,
|
|
421
|
+
WEAPON_SHOTGUN_SAWEDOFF_CHARLES,
|
|
422
|
+
WEAPON_SHOTGUN_SEMIAUTO,
|
|
423
|
+
WEAPON_SHOTGUN_SEMIAUTO_HOSEA,
|
|
424
|
+
WEAPON_SNAKE,
|
|
425
|
+
WEAPON_SNIPERRIFLE_CARCANO,
|
|
426
|
+
WEAPON_SNIPERRIFLE_ROLLINGBLOCK,
|
|
427
|
+
WEAPON_SNIPERRIFLE_ROLLINGBLOCK_EXOTIC,
|
|
428
|
+
WEAPON_SNIPERRIFLE_ROLLINGBLOCK_LENNY,
|
|
429
|
+
WEAPON_THROWN_BOLAS,
|
|
430
|
+
WEAPON_THROWN_BOLAS_HAWKMOTH,
|
|
431
|
+
WEAPON_THROWN_BOLAS_INTERTWINED,
|
|
432
|
+
WEAPON_THROWN_BOLAS_IRONSPIKED,
|
|
433
|
+
WEAPON_THROWN_DYNAMITE,
|
|
434
|
+
WEAPON_THROWN_MOLOTOV,
|
|
435
|
+
WEAPON_THROWN_POISONBOTTLE,
|
|
436
|
+
WEAPON_THROWN_THROWING_KNIVES,
|
|
437
|
+
WEAPON_THROWN_THROWING_KNIVES_JAVIER,
|
|
438
|
+
WEAPON_THROWN_TOMAHAWK,
|
|
439
|
+
WEAPON_THROWN_TOMAHAWK_ANCIENT,
|
|
440
|
+
WEAPON_WOLF,
|
|
441
|
+
WEAPON_WOLF_MEDIUM,
|
|
442
|
+
WEAPON_WOLF_SMALL
|
|
443
|
+
};
|
package/common/Command.d.ts
CHANGED
|
@@ -21,13 +21,13 @@ type CommandHandler<T extends Parameter[]> = (args: MappedParameters<T>) => void
|
|
|
21
21
|
export declare class Command<T extends Parameter[] = Parameter[]> {
|
|
22
22
|
#private;
|
|
23
23
|
readonly name: string | string[];
|
|
24
|
-
readonly help
|
|
24
|
+
readonly help?: string | undefined;
|
|
25
25
|
readonly params?: T | undefined;
|
|
26
26
|
/**
|
|
27
27
|
* Registers a new executable command with optional parameter validation and permission restrictions.
|
|
28
28
|
* @param name The unique identifier(s) for the command, either as a single string or an array of strings.
|
|
29
|
-
* @param help A description of the command, displayed as a chat suggestion.
|
|
30
29
|
* @param handler The function to execute when the command is executed.
|
|
30
|
+
* @param help A description of the command, displayed as a chat suggestion.
|
|
31
31
|
* @param params An optional array of parameter definitions specifying the command's expected arguments,
|
|
32
32
|
* including their names, types, and descriptive help text for chat suggestions.
|
|
33
33
|
* @param restricted Determines the command's access permissions:
|
|
@@ -35,7 +35,7 @@ export declare class Command<T extends Parameter[] = Parameter[]> {
|
|
|
35
35
|
* - A string such as `"group.admin"` grants the command permission to the specified principal.
|
|
36
36
|
* - An array of strings grants permission to multiple principals.
|
|
37
37
|
*/
|
|
38
|
-
constructor(name: string | string[],
|
|
38
|
+
constructor(name: string | string[], handler: CommandHandler<T>, help?: string | undefined, params?: T | undefined, restricted?: Restricted);
|
|
39
39
|
/**
|
|
40
40
|
* Maps the arguments received from a command call to the defined parameters while validating the argument types.
|
|
41
41
|
* @param source The client that executed the command, or -1 if executed by the server.
|
package/common/Command.js
CHANGED
|
@@ -31,8 +31,8 @@ class Command {
|
|
|
31
31
|
/**
|
|
32
32
|
* Registers a new executable command with optional parameter validation and permission restrictions.
|
|
33
33
|
* @param name The unique identifier(s) for the command, either as a single string or an array of strings.
|
|
34
|
-
* @param help A description of the command, displayed as a chat suggestion.
|
|
35
34
|
* @param handler The function to execute when the command is executed.
|
|
35
|
+
* @param help A description of the command, displayed as a chat suggestion.
|
|
36
36
|
* @param params An optional array of parameter definitions specifying the command's expected arguments,
|
|
37
37
|
* including their names, types, and descriptive help text for chat suggestions.
|
|
38
38
|
* @param restricted Determines the command's access permissions:
|
|
@@ -40,12 +40,11 @@ class Command {
|
|
|
40
40
|
* - A string such as `"group.admin"` grants the command permission to the specified principal.
|
|
41
41
|
* - An array of strings grants permission to multiple principals.
|
|
42
42
|
*/
|
|
43
|
-
constructor(name,
|
|
43
|
+
constructor(name, handler, help, params, restricted = true) {
|
|
44
44
|
this.name = name;
|
|
45
45
|
this.help = help;
|
|
46
46
|
this.params = params;
|
|
47
47
|
this.#handler = handler;
|
|
48
|
-
this.name = `/${name}`;
|
|
49
48
|
registerCommand(name, (source2, args, raw) => this.call(source2, args, raw), restricted);
|
|
50
49
|
if (params) {
|
|
51
50
|
for (const parameter of params) {
|
|
@@ -53,16 +52,20 @@ class Command {
|
|
|
53
52
|
parameter.help = parameter.help ? `${parameter.help} (type: ${parameter.type})` : `(type: ${parameter.type})`;
|
|
54
53
|
}
|
|
55
54
|
}
|
|
56
|
-
|
|
55
|
+
}
|
|
56
|
+
setTimeout(() => {
|
|
57
|
+
const names = Array.isArray(name) ? name : [name];
|
|
58
|
+
for (const name2 of names) {
|
|
59
|
+
const commandObj = { ...this, name: `/${name2}` };
|
|
57
60
|
$SERVER: {
|
|
58
|
-
commands.push(
|
|
59
|
-
emitNet("chat:addSuggestions", -1,
|
|
61
|
+
commands.push(commandObj);
|
|
62
|
+
emitNet("chat:addSuggestions", -1, commandObj);
|
|
60
63
|
}
|
|
61
64
|
$CLIENT: {
|
|
62
|
-
emit("chat:addSuggestion",
|
|
65
|
+
emit("chat:addSuggestion", commandObj);
|
|
63
66
|
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
67
|
+
}
|
|
68
|
+
}, 100);
|
|
66
69
|
}
|
|
67
70
|
static {
|
|
68
71
|
__name(this, "Command");
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BufferedClass } from "../BufferedClass";
|
|
2
|
+
import type { Ped } from "./Ped";
|
|
3
|
+
declare class HorsePeltEntry {
|
|
4
|
+
#private;
|
|
5
|
+
constructor(view: DataView, index: number);
|
|
6
|
+
get ItemHash(): number;
|
|
7
|
+
get AlbedoHash(): number;
|
|
8
|
+
get NormalHash(): number;
|
|
9
|
+
}
|
|
10
|
+
export declare class HorsePeltEntries extends BufferedClass {
|
|
11
|
+
constructor(horse: Ped);
|
|
12
|
+
GetAllPelts(): Generator<HorsePeltEntry, void, unknown>;
|
|
13
|
+
getPeltEntry(index: number): HorsePeltEntry;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
import { BufferedClass, GetBufferAsHex } from "../BufferedClass";
|
|
4
|
+
class HorsePeltEntry {
|
|
5
|
+
static {
|
|
6
|
+
__name(this, "HorsePeltEntry");
|
|
7
|
+
}
|
|
8
|
+
#view;
|
|
9
|
+
#offset;
|
|
10
|
+
constructor(view, index) {
|
|
11
|
+
this.#view = view;
|
|
12
|
+
this.#offset = index + 1 + index * 4;
|
|
13
|
+
}
|
|
14
|
+
/*
|
|
15
|
+
* This will be the itemHash if the pelt when using `SetPeltForHorseByInventoryItem`.
|
|
16
|
+
*/
|
|
17
|
+
get ItemHash() {
|
|
18
|
+
return this.#view.getInt32(this.#offset * 8, true);
|
|
19
|
+
}
|
|
20
|
+
/*
|
|
21
|
+
* The albedo hash provided to `SetPeltForHorseByInventoryItem`
|
|
22
|
+
*/
|
|
23
|
+
get AlbedoHash() {
|
|
24
|
+
return this.#view.getInt32((this.#offset + 1) * 8, true);
|
|
25
|
+
}
|
|
26
|
+
/*
|
|
27
|
+
* The Normal hash provided to `SetPeltForHorseByInventoryItem`
|
|
28
|
+
*/
|
|
29
|
+
get NormalHash() {
|
|
30
|
+
return this.#view.getInt32((this.#offset + 2) * 8, true);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
class HorsePeltEntries extends BufferedClass {
|
|
34
|
+
static {
|
|
35
|
+
__name(this, "HorsePeltEntries");
|
|
36
|
+
}
|
|
37
|
+
constructor(horse) {
|
|
38
|
+
super(120);
|
|
39
|
+
this.view.setInt8(0, 3);
|
|
40
|
+
Citizen.invokeNative("0x6F43C351A5D51E2F", horse.Handle, this.view, Citizen.resultAsInteger());
|
|
41
|
+
}
|
|
42
|
+
*GetAllPelts() {
|
|
43
|
+
for (let i = 0; i < 3; i++) {
|
|
44
|
+
const entry = this.getPeltEntry(i);
|
|
45
|
+
if (entry.ItemHash === 0) {
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
yield entry;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
getPeltEntry(index) {
|
|
52
|
+
return new HorsePeltEntry(this.view, index);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
export {
|
|
56
|
+
HorsePeltEntries
|
|
57
|
+
};
|
package/entities/Ped.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import type { Vector3 } from "../common/utils/Vector";
|
|
2
2
|
import { Tasks } from "../Task";
|
|
3
|
+
import { ItemAddReason } from "../inventory/InventoryTypes";
|
|
4
|
+
import type { AmmoModel } from "../models/AmmoModel";
|
|
5
|
+
import type { WeaponModel } from "../models/WeaponModel";
|
|
3
6
|
import { Attributes } from "../Attribute";
|
|
4
7
|
import type { KnockOffVehicle, TamingState, eDamageCleanliness } from "../enums/Ped";
|
|
5
8
|
import type { VehicleSeat } from "../enums/VehicleSeat";
|
|
@@ -21,6 +24,10 @@ export declare class Ped extends BaseEntity {
|
|
|
21
24
|
static fromNetworkId(netId: number): Ped | null;
|
|
22
25
|
static fromStateBagName(bagName: string): Ped | null;
|
|
23
26
|
constructor(handle: number);
|
|
27
|
+
/**
|
|
28
|
+
* @returns the current horse or vehicle the ped is on, or null if they're not on either
|
|
29
|
+
*/
|
|
30
|
+
get MountedEntity(): BaseEntity | null;
|
|
24
31
|
/**
|
|
25
32
|
* Blocks scenarios inbetween the specified vectors
|
|
26
33
|
* @todo Move to Game
|
|
@@ -63,6 +70,10 @@ export declare class Ped extends BaseEntity {
|
|
|
63
70
|
/**
|
|
64
71
|
* @returns the last mount that this ped was on, or null if it doesn't exist
|
|
65
72
|
*/
|
|
73
|
+
get LastMount(): Ped | null;
|
|
74
|
+
/**
|
|
75
|
+
* @returns the the current mount that the ped is on, or null if there isn't one
|
|
76
|
+
*/
|
|
66
77
|
get Mount(): Ped | null;
|
|
67
78
|
/**
|
|
68
79
|
* returns the horse that this ped is leading
|
|
@@ -186,4 +197,11 @@ export declare class Ped extends BaseEntity {
|
|
|
186
197
|
*/
|
|
187
198
|
get StaminaNormalized(): number;
|
|
188
199
|
resetStamina(): void;
|
|
200
|
+
setOwnsAnimal(ped: Ped, p2?: number): void;
|
|
201
|
+
addAmmo(weapon: WeaponModel, amount: number, addReason?: ItemAddReason): void;
|
|
202
|
+
clearLastDamage(): void;
|
|
203
|
+
disableAmmoType(ammo: AmmoModel): void;
|
|
204
|
+
disableAmmoForWeapon(weapon: WeaponModel, ammo: AmmoModel): void;
|
|
205
|
+
get HasPistol(): boolean;
|
|
206
|
+
get HasRepeater(): boolean;
|
|
189
207
|
}
|