@sagl/server 0.0.0-stage → 0.1.0-next.49
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/LICENSE +21 -0
- package/README.md +61 -2
- package/dist/actions.d.ts +46 -0
- package/dist/actions.js +80 -0
- package/dist/actions.js.map +1 -0
- package/dist/animations.d.ts +32 -0
- package/dist/animations.js +95 -0
- package/dist/animations.js.map +1 -0
- package/dist/audio.d.ts +180 -0
- package/dist/audio.js +353 -0
- package/dist/audio.js.map +1 -0
- package/dist/audio_effects.d.ts +219 -0
- package/dist/audio_effects.js +84 -0
- package/dist/audio_effects.js.map +1 -0
- package/dist/camera.d.ts +188 -0
- package/dist/camera.js +247 -0
- package/dist/camera.js.map +1 -0
- package/dist/claims.d.ts +27 -0
- package/dist/claims.js +48 -0
- package/dist/claims.js.map +1 -0
- package/dist/commands.d.ts +135 -0
- package/dist/commands.js +373 -0
- package/dist/commands.js.map +1 -0
- package/dist/console.d.ts +21 -0
- package/dist/console.js +100 -0
- package/dist/console.js.map +1 -0
- package/dist/constants.d.ts +654 -0
- package/dist/constants.js +657 -0
- package/dist/constants.js.map +1 -0
- package/dist/cutscene.d.ts +47 -0
- package/dist/cutscene.js +190 -0
- package/dist/cutscene.js.map +1 -0
- package/dist/draw.d.ts +106 -0
- package/dist/draw.js +132 -0
- package/dist/draw.js.map +1 -0
- package/dist/effects.d.ts +91 -0
- package/dist/effects.js +116 -0
- package/dist/effects.js.map +1 -0
- package/dist/gangzones.d.ts +47 -0
- package/dist/gangzones.js +122 -0
- package/dist/gangzones.js.map +1 -0
- package/dist/geo.d.ts +11 -0
- package/dist/geo.js +25 -0
- package/dist/geo.js.map +1 -0
- package/dist/hud.d.ts +159 -0
- package/dist/hud.js +247 -0
- package/dist/hud.js.map +1 -0
- package/dist/index.d.ts +40 -0
- package/dist/index.js +43 -0
- package/dist/index.js.map +1 -0
- package/dist/interaction.d.ts +81 -0
- package/dist/interaction.js +143 -0
- package/dist/interaction.js.map +1 -0
- package/dist/junctions.d.ts +1 -0
- package/dist/junctions.js +330 -0
- package/dist/junctions.js.map +1 -0
- package/dist/map.d.ts +55 -0
- package/dist/map.js +71 -0
- package/dist/map.js.map +1 -0
- package/dist/menu.d.ts +96 -0
- package/dist/menu.js +129 -0
- package/dist/menu.js.map +1 -0
- package/dist/mission.d.ts +482 -0
- package/dist/mission.js +1258 -0
- package/dist/mission.js.map +1 -0
- package/dist/models.d.ts +56 -0
- package/dist/models.js +71 -0
- package/dist/models.js.map +1 -0
- package/dist/modshop.d.ts +229 -0
- package/dist/modshop.js +904 -0
- package/dist/modshop.js.map +1 -0
- package/dist/modshop_data.d.ts +44 -0
- package/dist/modshop_data.js +287 -0
- package/dist/modshop_data.js.map +1 -0
- package/dist/native.d.ts +809 -0
- package/dist/native.js +27 -0
- package/dist/native.js.map +1 -0
- package/dist/objects.d.ts +249 -0
- package/dist/objects.js +455 -0
- package/dist/objects.js.map +1 -0
- package/dist/paint.d.ts +124 -0
- package/dist/paint.js +84 -0
- package/dist/paint.js.map +1 -0
- package/dist/paynspray.d.ts +44 -0
- package/dist/paynspray.js +177 -0
- package/dist/paynspray.js.map +1 -0
- package/dist/ped.d.ts +335 -0
- package/dist/ped.js +536 -0
- package/dist/ped.js.map +1 -0
- package/dist/player.d.ts +685 -0
- package/dist/player.js +1163 -0
- package/dist/player.js.map +1 -0
- package/dist/screeneffects.d.ts +99 -0
- package/dist/screeneffects.js +257 -0
- package/dist/screeneffects.js.map +1 -0
- package/dist/scripts.d.ts +69 -0
- package/dist/scripts.js +125 -0
- package/dist/scripts.js.map +1 -0
- package/dist/server.d.ts +713 -0
- package/dist/server.js +1080 -0
- package/dist/server.js.map +1 -0
- package/dist/shopblips.d.ts +9 -0
- package/dist/shopblips.js +30 -0
- package/dist/shopblips.js.map +1 -0
- package/dist/special.d.ts +33 -0
- package/dist/special.js +26 -0
- package/dist/special.js.map +1 -0
- package/dist/splash.d.ts +42 -0
- package/dist/splash.js +55 -0
- package/dist/splash.js.map +1 -0
- package/dist/text.d.ts +19 -0
- package/dist/text.js +25 -0
- package/dist/text.js.map +1 -0
- package/dist/ui.d.ts +141 -0
- package/dist/ui.js +243 -0
- package/dist/ui.js.map +1 -0
- package/dist/vehicle.d.ts +306 -0
- package/dist/vehicle.js +612 -0
- package/dist/vehicle.js.map +1 -0
- package/dist/vehiclecolors.d.ts +26 -0
- package/dist/vehiclecolors.js +49 -0
- package/dist/vehiclecolors.js.map +1 -0
- package/dist/world.d.ts +222 -0
- package/dist/world.js +227 -0
- package/dist/world.js.map +1 -0
- package/dist/zone.d.ts +89 -0
- package/dist/zone.js +140 -0
- package/dist/zone.js.map +1 -0
- package/package.json +33 -4
|
@@ -0,0 +1,654 @@
|
|
|
1
|
+
/** eWeaponType (subset). */
|
|
2
|
+
export declare const Weapon: {
|
|
3
|
+
readonly Unarmed: 0;
|
|
4
|
+
readonly BrassKnuckles: 1;
|
|
5
|
+
readonly GolfClub: 2;
|
|
6
|
+
readonly Nightstick: 3;
|
|
7
|
+
readonly Knife: 4;
|
|
8
|
+
readonly BaseballBat: 5;
|
|
9
|
+
readonly Shovel: 6;
|
|
10
|
+
readonly PoolCue: 7;
|
|
11
|
+
readonly Katana: 8;
|
|
12
|
+
readonly Chainsaw: 9;
|
|
13
|
+
readonly Grenade: 16;
|
|
14
|
+
readonly TearGas: 17;
|
|
15
|
+
readonly Molotov: 18;
|
|
16
|
+
readonly Pistol: 22;
|
|
17
|
+
readonly SilencedPistol: 23;
|
|
18
|
+
readonly DesertEagle: 24;
|
|
19
|
+
readonly Shotgun: 25;
|
|
20
|
+
readonly SawnOff: 26;
|
|
21
|
+
readonly CombatShotgun: 27;
|
|
22
|
+
readonly Uzi: 28;
|
|
23
|
+
readonly MP5: 29;
|
|
24
|
+
readonly AK47: 30;
|
|
25
|
+
readonly M4: 31;
|
|
26
|
+
readonly Tec9: 32;
|
|
27
|
+
readonly Rifle: 33;
|
|
28
|
+
readonly Sniper: 34;
|
|
29
|
+
readonly RocketLauncher: 35;
|
|
30
|
+
readonly HeatSeeker: 36;
|
|
31
|
+
readonly Flamethrower: 37;
|
|
32
|
+
readonly Minigun: 38;
|
|
33
|
+
readonly SatchelCharge: 39;
|
|
34
|
+
readonly Detonator: 40;
|
|
35
|
+
readonly SprayCan: 41;
|
|
36
|
+
readonly FireExtinguisher: 42;
|
|
37
|
+
readonly Camera: 43;
|
|
38
|
+
readonly Parachute: 46;
|
|
39
|
+
};
|
|
40
|
+
/** ePedPieceTypes: where a hit landed. */
|
|
41
|
+
export declare const BodyPart: {
|
|
42
|
+
readonly Torso: 3;
|
|
43
|
+
readonly Groin: 4;
|
|
44
|
+
readonly LeftArm: 5;
|
|
45
|
+
readonly RightArm: 6;
|
|
46
|
+
readonly LeftLeg: 7;
|
|
47
|
+
readonly RightLeg: 8;
|
|
48
|
+
readonly Head: 9;
|
|
49
|
+
};
|
|
50
|
+
/** Message colours (0xRRGGBB). */
|
|
51
|
+
/** Car radio stations. */
|
|
52
|
+
export declare const RadioStation: {
|
|
53
|
+
readonly PlaybackFM: 1;
|
|
54
|
+
readonly KRose: 2;
|
|
55
|
+
readonly KDST: 3;
|
|
56
|
+
readonly BounceFM: 4;
|
|
57
|
+
readonly SFUR: 5;
|
|
58
|
+
readonly RadioLosSantos: 6;
|
|
59
|
+
readonly RadioX: 7;
|
|
60
|
+
readonly CSR: 8;
|
|
61
|
+
readonly KJahWest: 9;
|
|
62
|
+
readonly MasterSounds: 10;
|
|
63
|
+
readonly WCTR: 11;
|
|
64
|
+
readonly Off: 13;
|
|
65
|
+
};
|
|
66
|
+
export declare const Color: {
|
|
67
|
+
readonly White: 16777215;
|
|
68
|
+
readonly Grey: 11184810;
|
|
69
|
+
readonly Red: 16736352;
|
|
70
|
+
readonly Green: 6356832;
|
|
71
|
+
readonly Blue: 6328575;
|
|
72
|
+
readonly Yellow: 16769120;
|
|
73
|
+
readonly Orange: 16752704;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Game stats (`player.setStat`). Most go 0-1000. Weapon skills: 0-1000,
|
|
77
|
+
* where 1000 is hitman (dual pistols, sawn-offs, uzis and tec-9s; faster
|
|
78
|
+
* fire). Max health: 569 is a new game's (100 health); 1000 gives 176.
|
|
79
|
+
*/
|
|
80
|
+
export declare const Stat: {
|
|
81
|
+
readonly Fat: 21;
|
|
82
|
+
readonly Stamina: 22;
|
|
83
|
+
readonly Muscle: 23;
|
|
84
|
+
readonly MaxHealth: 24;
|
|
85
|
+
readonly SexAppeal: 25;
|
|
86
|
+
readonly Respect: 68;
|
|
87
|
+
readonly PistolSkill: 69;
|
|
88
|
+
readonly SilencedPistolSkill: 70;
|
|
89
|
+
readonly DesertEagleSkill: 71;
|
|
90
|
+
readonly ShotgunSkill: 72;
|
|
91
|
+
readonly SawnOffSkill: 73;
|
|
92
|
+
readonly CombatShotgunSkill: 74;
|
|
93
|
+
readonly MachinePistolSkill: 75;
|
|
94
|
+
readonly SmgSkill: 76;
|
|
95
|
+
readonly Ak47Skill: 77;
|
|
96
|
+
readonly M4Skill: 78;
|
|
97
|
+
readonly RifleSkill: 79;
|
|
98
|
+
readonly Gambling: 81;
|
|
99
|
+
readonly DrivingSkill: 160;
|
|
100
|
+
readonly FlyingSkill: 223;
|
|
101
|
+
readonly LungCapacity: 225;
|
|
102
|
+
readonly BikeSkill: 229;
|
|
103
|
+
readonly CyclingSkill: 230;
|
|
104
|
+
readonly Luck: 233;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* The game's voice lines (`ped.say({ context })`): what a ped says, in its
|
|
108
|
+
* own voice (the line depends on its model). Not every ped has every one.
|
|
109
|
+
*/
|
|
110
|
+
export declare const VoiceContext: {
|
|
111
|
+
readonly AbuseGangBallas: 1;
|
|
112
|
+
readonly AbuseGangLsv: 2;
|
|
113
|
+
readonly AbuseGangVla: 3;
|
|
114
|
+
readonly AbuseGangFamilies: 4;
|
|
115
|
+
readonly AbuseTriad: 5;
|
|
116
|
+
readonly AbuseMafia: 6;
|
|
117
|
+
readonly AbuseRifa: 7;
|
|
118
|
+
readonly AbuseDaNang: 8;
|
|
119
|
+
readonly AcceptDateCall: 9;
|
|
120
|
+
readonly AcceptDateRequest: 10;
|
|
121
|
+
readonly AfterSex: 11;
|
|
122
|
+
readonly Apology: 12;
|
|
123
|
+
readonly Arrest: 13;
|
|
124
|
+
readonly ArrestCrim: 14;
|
|
125
|
+
readonly Arrested: 15;
|
|
126
|
+
readonly AttackByPlayerLike: 16;
|
|
127
|
+
readonly AttackGangBallas: 17;
|
|
128
|
+
readonly AttackGangLsv: 18;
|
|
129
|
+
readonly AttackGangVla: 19;
|
|
130
|
+
readonly AttackPlayer: 20;
|
|
131
|
+
readonly BarChat: 21;
|
|
132
|
+
readonly Blocked: 22;
|
|
133
|
+
readonly BoozeReceive: 23;
|
|
134
|
+
readonly BoozeRequest: 24;
|
|
135
|
+
readonly BumBackOff: 25;
|
|
136
|
+
readonly BumBackOff2: 26;
|
|
137
|
+
readonly BumLatch: 27;
|
|
138
|
+
readonly Bump: 28;
|
|
139
|
+
readonly CarCrash: 29;
|
|
140
|
+
readonly CarDrivebyBurnRubber: 30;
|
|
141
|
+
readonly CarDrivebyTooFast: 31;
|
|
142
|
+
readonly CarFast: 32;
|
|
143
|
+
readonly CarFire: 33;
|
|
144
|
+
readonly CarFlipped: 34;
|
|
145
|
+
readonly CarGetIn: 35;
|
|
146
|
+
readonly CarHitPed: 36;
|
|
147
|
+
readonly CarJump: 37;
|
|
148
|
+
readonly CarPolicePursuit: 38;
|
|
149
|
+
readonly CarSlow: 39;
|
|
150
|
+
readonly CarWaitForMe: 40;
|
|
151
|
+
readonly CarSingalong: 41;
|
|
152
|
+
readonly CbChat: 42;
|
|
153
|
+
readonly ChaseFoot: 43;
|
|
154
|
+
readonly Chased: 44;
|
|
155
|
+
readonly Chat: 45;
|
|
156
|
+
readonly CoffeeAccept: 46;
|
|
157
|
+
readonly CoffeeDecline: 47;
|
|
158
|
+
readonly ConvDislCar: 48;
|
|
159
|
+
readonly ConvDislClothes: 49;
|
|
160
|
+
readonly ConvDislHair: 50;
|
|
161
|
+
readonly ConvDislPhys: 51;
|
|
162
|
+
readonly ConvDislShoes: 52;
|
|
163
|
+
readonly ConvDislSmell: 53;
|
|
164
|
+
readonly ConvDislTattoo: 54;
|
|
165
|
+
readonly ConvDislWeather: 55;
|
|
166
|
+
readonly ConvIgnored: 56;
|
|
167
|
+
readonly ConvLikeCar: 57;
|
|
168
|
+
readonly ConvLikeClothes: 58;
|
|
169
|
+
readonly ConvLikeHair: 59;
|
|
170
|
+
readonly ConvLikePhys: 60;
|
|
171
|
+
readonly ConvLikeShoes: 61;
|
|
172
|
+
readonly ConvLikeSmell: 62;
|
|
173
|
+
readonly ConvLikeTattoo: 63;
|
|
174
|
+
readonly ConvLikeWeather: 64;
|
|
175
|
+
readonly CoverMe: 65;
|
|
176
|
+
readonly CrashBike: 66;
|
|
177
|
+
readonly CrashCar: 67;
|
|
178
|
+
readonly CrashGeneric: 68;
|
|
179
|
+
readonly CriminalPlead: 69;
|
|
180
|
+
readonly DanceImprHigh: 70;
|
|
181
|
+
readonly DanceImprLow: 71;
|
|
182
|
+
readonly DanceImprMed: 72;
|
|
183
|
+
readonly DanceImprNot: 73;
|
|
184
|
+
readonly Dodge: 74;
|
|
185
|
+
readonly DrugAggressiveHigh: 75;
|
|
186
|
+
readonly DrugAggressiveLow: 76;
|
|
187
|
+
readonly DrugDealerDislike: 77;
|
|
188
|
+
readonly DrugDealerHate: 78;
|
|
189
|
+
readonly DrugReasonableHigh: 79;
|
|
190
|
+
readonly DrugReasonableLow: 80;
|
|
191
|
+
readonly DruggedChat: 81;
|
|
192
|
+
readonly DruggedIgnore: 82;
|
|
193
|
+
readonly DrugsBuy: 83;
|
|
194
|
+
readonly DrugsSell: 84;
|
|
195
|
+
readonly Duck: 85;
|
|
196
|
+
readonly EyeingPed: 86;
|
|
197
|
+
readonly EyeingPedThreat: 87;
|
|
198
|
+
readonly EyeingPlayer: 88;
|
|
199
|
+
readonly Fight: 89;
|
|
200
|
+
readonly FollowArrive: 90;
|
|
201
|
+
readonly FollowConstant: 91;
|
|
202
|
+
readonly FollowReply: 92;
|
|
203
|
+
readonly GambBjHit: 93;
|
|
204
|
+
readonly GambBjLose: 94;
|
|
205
|
+
readonly GambBjStay: 95;
|
|
206
|
+
readonly GambBjWin: 96;
|
|
207
|
+
readonly GambBjStick: 97;
|
|
208
|
+
readonly GambBjDouble: 98;
|
|
209
|
+
readonly GambBjSplit: 99;
|
|
210
|
+
readonly GambCasinoWin: 100;
|
|
211
|
+
readonly GambCasinoLose: 101;
|
|
212
|
+
readonly GambCongrats: 102;
|
|
213
|
+
readonly GambRoulChat: 103;
|
|
214
|
+
readonly GambSlotWin: 104;
|
|
215
|
+
readonly GangFull: 105;
|
|
216
|
+
readonly GangbangNo: 106;
|
|
217
|
+
readonly GangbangYes: 107;
|
|
218
|
+
readonly GenericHiMale: 108;
|
|
219
|
+
readonly GenericHiFemale: 109;
|
|
220
|
+
readonly GenericInsultMale: 110;
|
|
221
|
+
readonly GenericInsultFemale: 111;
|
|
222
|
+
readonly GivingHead: 112;
|
|
223
|
+
readonly GoodCitizen: 113;
|
|
224
|
+
readonly GunCool: 114;
|
|
225
|
+
readonly GunRun: 115;
|
|
226
|
+
readonly HavingSex: 116;
|
|
227
|
+
readonly HavingSexMuffled: 117;
|
|
228
|
+
readonly JackedCar: 118;
|
|
229
|
+
readonly JackedGeneric: 119;
|
|
230
|
+
readonly JackedOnStreet: 120;
|
|
231
|
+
readonly JackingBike: 121;
|
|
232
|
+
readonly JackingCarFem: 122;
|
|
233
|
+
readonly JackingCarMale: 123;
|
|
234
|
+
readonly JackingGeneric: 124;
|
|
235
|
+
readonly JoinGangNo: 125;
|
|
236
|
+
readonly JoinGangYes: 126;
|
|
237
|
+
readonly JoinMeAsk: 127;
|
|
238
|
+
readonly JoinMeRejected: 128;
|
|
239
|
+
readonly LikeCarReply: 129;
|
|
240
|
+
readonly LikeClothesReply: 130;
|
|
241
|
+
readonly LikeDismissFemale: 131;
|
|
242
|
+
readonly LikeDismissMale: 132;
|
|
243
|
+
readonly LikeDismissReply: 133;
|
|
244
|
+
readonly LikeHairReply: 134;
|
|
245
|
+
readonly LikeNegativeFemale: 135;
|
|
246
|
+
readonly LikeNegativeMale: 136;
|
|
247
|
+
readonly LikePhysReply: 137;
|
|
248
|
+
readonly LikeShoesReply: 138;
|
|
249
|
+
readonly LikeSmellReply: 139;
|
|
250
|
+
readonly LikeTattooReply: 140;
|
|
251
|
+
readonly MeetGfriendAgainMaybe: 141;
|
|
252
|
+
readonly MeetGfriendAgainNo: 142;
|
|
253
|
+
readonly MeetGfriendAgainYes: 143;
|
|
254
|
+
readonly MoveIn: 144;
|
|
255
|
+
readonly Mugged: 145;
|
|
256
|
+
readonly Mugging: 146;
|
|
257
|
+
readonly OrderAttackMany: 147;
|
|
258
|
+
readonly OrderAttackSingle: 148;
|
|
259
|
+
readonly OrderDisbandMany: 149;
|
|
260
|
+
readonly OrderDisbandOne: 150;
|
|
261
|
+
readonly OrderFollowFarMany: 151;
|
|
262
|
+
readonly OrderFollowFarOne: 152;
|
|
263
|
+
readonly OrderFollowNearMany: 153;
|
|
264
|
+
readonly OrderFollowNearOne: 154;
|
|
265
|
+
readonly OrderFollowVnearMany: 155;
|
|
266
|
+
readonly OrderFollowVnearOne: 156;
|
|
267
|
+
readonly OrderKeepUpMany: 157;
|
|
268
|
+
readonly OrderKeepUpOne: 158;
|
|
269
|
+
readonly OrderWaitMany: 159;
|
|
270
|
+
readonly OrderWaitOne: 160;
|
|
271
|
+
readonly PconvAgreeBad: 161;
|
|
272
|
+
readonly PconvAgreeGood: 162;
|
|
273
|
+
readonly PconvAnsNo: 163;
|
|
274
|
+
readonly PconvDismiss: 164;
|
|
275
|
+
readonly PconvGreetFem: 165;
|
|
276
|
+
readonly PconvGreetMale: 166;
|
|
277
|
+
readonly PconvPartFem: 167;
|
|
278
|
+
readonly PconvPartMale: 168;
|
|
279
|
+
readonly PconvQuestion: 169;
|
|
280
|
+
readonly PconvStateBad: 170;
|
|
281
|
+
readonly PconvStateGood: 171;
|
|
282
|
+
readonly PickupCash: 172;
|
|
283
|
+
readonly PoliceBoat: 173;
|
|
284
|
+
readonly PoliceHelicopter: 174;
|
|
285
|
+
readonly PoliceOverboard: 175;
|
|
286
|
+
readonly PullGun: 176;
|
|
287
|
+
readonly Rope: 177;
|
|
288
|
+
readonly RunFromFight: 178;
|
|
289
|
+
readonly Saved: 179;
|
|
290
|
+
readonly Search: 180;
|
|
291
|
+
readonly Shocked: 181;
|
|
292
|
+
readonly Shoot: 182;
|
|
293
|
+
readonly ShootBallas: 183;
|
|
294
|
+
readonly ShootGeneric: 184;
|
|
295
|
+
readonly ShootLsv: 185;
|
|
296
|
+
readonly ShootVla: 186;
|
|
297
|
+
readonly ShootFamilies: 187;
|
|
298
|
+
readonly ShopBrowse: 188;
|
|
299
|
+
readonly ShopBuy: 189;
|
|
300
|
+
readonly ShopSell: 190;
|
|
301
|
+
readonly ShopLeave: 191;
|
|
302
|
+
readonly Solicit: 192;
|
|
303
|
+
readonly SolicitGenNo: 193;
|
|
304
|
+
readonly SolicitGenYes: 194;
|
|
305
|
+
readonly SolicitProNo: 195;
|
|
306
|
+
readonly SolicitProYes: 196;
|
|
307
|
+
readonly SolicitThanks: 197;
|
|
308
|
+
readonly SolicitUnreasonable: 198;
|
|
309
|
+
readonly Solo: 199;
|
|
310
|
+
readonly SpliffReceive: 200;
|
|
311
|
+
readonly SpliffRequest: 201;
|
|
312
|
+
readonly StealthAlertSound: 202;
|
|
313
|
+
readonly StealthAlertSight: 203;
|
|
314
|
+
readonly StealthAlertGeneric: 204;
|
|
315
|
+
readonly StealthDefSighting: 205;
|
|
316
|
+
readonly StealthNothingThere: 206;
|
|
317
|
+
readonly Surrounded: 207;
|
|
318
|
+
readonly TakeTurfLasColinas: 208;
|
|
319
|
+
readonly TakeTurfLosFlores: 209;
|
|
320
|
+
readonly TakeTurfEastBeach: 210;
|
|
321
|
+
readonly TakeTurfEastLs: 211;
|
|
322
|
+
readonly TakeTurfJefferson: 212;
|
|
323
|
+
readonly TakeTurfGlenPark: 213;
|
|
324
|
+
readonly TakeTurfIdlewood: 214;
|
|
325
|
+
readonly TakeTurfGanton: 215;
|
|
326
|
+
readonly TakeTurfLittleMexico: 216;
|
|
327
|
+
readonly TakeTurfWillowfield: 217;
|
|
328
|
+
readonly TakeTurfPlayaDelSeville: 218;
|
|
329
|
+
readonly TakeTurfTemple: 219;
|
|
330
|
+
readonly Target: 220;
|
|
331
|
+
readonly TaxiBail: 221;
|
|
332
|
+
readonly TaxiHail: 222;
|
|
333
|
+
readonly TaxiHitPed: 223;
|
|
334
|
+
readonly TaxiStart: 224;
|
|
335
|
+
readonly TaxiSuccess: 225;
|
|
336
|
+
readonly TaxiTip: 226;
|
|
337
|
+
readonly Trapped: 227;
|
|
338
|
+
readonly ValetBad: 228;
|
|
339
|
+
readonly ValetGood: 229;
|
|
340
|
+
readonly ValetParkCar: 230;
|
|
341
|
+
readonly Van: 231;
|
|
342
|
+
readonly Victim: 232;
|
|
343
|
+
readonly WeatherDislReply: 233;
|
|
344
|
+
readonly WeatherLikeReply: 234;
|
|
345
|
+
readonly WhereYouFromNeg: 235;
|
|
346
|
+
readonly WhereYouFromPos: 236;
|
|
347
|
+
readonly Spanked: 237;
|
|
348
|
+
readonly Spanking: 238;
|
|
349
|
+
readonly SpankingMuffled: 239;
|
|
350
|
+
readonly GreetingGfriend: 240;
|
|
351
|
+
readonly PartingGfriend: 241;
|
|
352
|
+
readonly UhHuh: 242;
|
|
353
|
+
readonly ClearAttachedPeds: 243;
|
|
354
|
+
readonly AgreeToDoDriveby: 244;
|
|
355
|
+
readonly AgreeToLetDrive: 245;
|
|
356
|
+
readonly MichelleTakeCar: 246;
|
|
357
|
+
readonly AcceptSex: 247;
|
|
358
|
+
readonly DeclineSex: 248;
|
|
359
|
+
readonly GiveNumberYes: 249;
|
|
360
|
+
readonly GiveNumberNo: 250;
|
|
361
|
+
readonly WhereYouFrom: 251;
|
|
362
|
+
readonly Gangbang: 252;
|
|
363
|
+
readonly WhereYouFromPosReply: 253;
|
|
364
|
+
readonly DriveThroughTaunt: 254;
|
|
365
|
+
readonly AttackCar: 255;
|
|
366
|
+
readonly TipCar: 256;
|
|
367
|
+
readonly ChaseCar: 257;
|
|
368
|
+
readonly EnemyGangWasted: 258;
|
|
369
|
+
readonly PlayerWasted: 259;
|
|
370
|
+
readonly Chase: 260;
|
|
371
|
+
readonly GfriendReqDateDesperate: 261;
|
|
372
|
+
readonly GfriendReqDateNormal: 262;
|
|
373
|
+
readonly GfriendReqMealDesperate: 263;
|
|
374
|
+
readonly GfriendReqMealNormal: 264;
|
|
375
|
+
readonly GfriendReqDriveDesperate: 265;
|
|
376
|
+
readonly GfriendReqDriveNormal: 266;
|
|
377
|
+
readonly GfriendReqDanceDesperate: 267;
|
|
378
|
+
readonly GfriendReqDanceNormal: 268;
|
|
379
|
+
readonly GfriendReqSexDesperate: 269;
|
|
380
|
+
readonly GfriendReqSexNormal: 270;
|
|
381
|
+
readonly GfriendBored1: 271;
|
|
382
|
+
readonly GfriendBored2: 272;
|
|
383
|
+
readonly GfriendStory: 273;
|
|
384
|
+
readonly GfriendLikeMealDest: 274;
|
|
385
|
+
readonly GfriendLikeClubDest: 275;
|
|
386
|
+
readonly GfriendOfferDance: 276;
|
|
387
|
+
readonly GfriendEnjoyedMealHigh: 277;
|
|
388
|
+
readonly GfriendEnjoyedEventLow: 278;
|
|
389
|
+
readonly GfriendEnjoyedClubHigh: 279;
|
|
390
|
+
readonly GfriendTakeHomeHappy: 280;
|
|
391
|
+
readonly GfriendTakeHomeAngry: 281;
|
|
392
|
+
readonly GfriendCoffee: 282;
|
|
393
|
+
readonly GfriendMoan: 283;
|
|
394
|
+
readonly GfriendMoanMuffled: 284;
|
|
395
|
+
readonly GfriendHead: 285;
|
|
396
|
+
readonly GfriendClimaxHigh: 286;
|
|
397
|
+
readonly GfriendClimaxHighMuffled: 287;
|
|
398
|
+
readonly GfriendClimaxLow: 288;
|
|
399
|
+
readonly GfriendSexGood: 289;
|
|
400
|
+
readonly GfriendSexGoodMuffled: 290;
|
|
401
|
+
readonly GfriendSexBad: 291;
|
|
402
|
+
readonly GfriendMeetAgain: 292;
|
|
403
|
+
readonly GfriendJealous: 293;
|
|
404
|
+
readonly GfriendJealousReply: 294;
|
|
405
|
+
readonly GfriendGoodbyeHappy: 295;
|
|
406
|
+
readonly GfriendGoodbyeAngry: 296;
|
|
407
|
+
readonly GfriendLeftBehind: 297;
|
|
408
|
+
readonly GfriendHello: 298;
|
|
409
|
+
readonly GfriendGoodbye: 299;
|
|
410
|
+
readonly GfriendPickupLocation: 300;
|
|
411
|
+
readonly GfriendParkUp: 301;
|
|
412
|
+
readonly GfriendParkLocationHate: 302;
|
|
413
|
+
readonly GfriendGiftLike: 303;
|
|
414
|
+
readonly GfriendChangeRadioFave: 304;
|
|
415
|
+
readonly GfriendChangeRadioBack: 305;
|
|
416
|
+
readonly GfriendDoADriveby: 306;
|
|
417
|
+
readonly GfriendStartAFight: 307;
|
|
418
|
+
readonly GfriendRejectDate: 308;
|
|
419
|
+
readonly GfriendRequestToDriveCar: 309;
|
|
420
|
+
readonly GfriendDropPlayerDriveAway: 310;
|
|
421
|
+
readonly GfriendDislikeCurrentZone: 311;
|
|
422
|
+
readonly GfriendLikeCurrentZone: 312;
|
|
423
|
+
readonly GfriendHitByPlayerWarning: 313;
|
|
424
|
+
readonly GfriendDumpPlayerLive: 314;
|
|
425
|
+
readonly GfriendDumpPlayerPhone: 315;
|
|
426
|
+
readonly GfriendSexAppealTooLow: 316;
|
|
427
|
+
readonly GfriendPhysiqueCritique: 317;
|
|
428
|
+
readonly GfriendIntro: 318;
|
|
429
|
+
readonly GfriendNegResponse: 319;
|
|
430
|
+
readonly GfriendPosResponse: 320;
|
|
431
|
+
readonly BoxingCheer: 321;
|
|
432
|
+
readonly BoughtEnough: 322;
|
|
433
|
+
readonly GiveProduct: 323;
|
|
434
|
+
readonly NoMoney: 324;
|
|
435
|
+
readonly PlayerSick: 325;
|
|
436
|
+
readonly RemoveTattoo: 326;
|
|
437
|
+
readonly ShopClosed: 327;
|
|
438
|
+
readonly ShowChangingroom: 328;
|
|
439
|
+
readonly ShopChat: 329;
|
|
440
|
+
readonly TakeASeat: 330;
|
|
441
|
+
readonly ThanksForCustom: 331;
|
|
442
|
+
readonly WelcomeToShop: 332;
|
|
443
|
+
readonly WhatWant: 333;
|
|
444
|
+
readonly PhotoCarl: 334;
|
|
445
|
+
readonly PhotoCheese: 335;
|
|
446
|
+
readonly Singing: 336;
|
|
447
|
+
readonly StomachRumble: 337;
|
|
448
|
+
readonly Breathing: 338;
|
|
449
|
+
readonly PainCough: 340;
|
|
450
|
+
readonly PainDeathDrown: 341;
|
|
451
|
+
readonly PainDeathHigh: 342;
|
|
452
|
+
readonly PainDeathLow: 343;
|
|
453
|
+
readonly PainHigh: 344;
|
|
454
|
+
readonly PainLow: 345;
|
|
455
|
+
readonly PainOnFire: 346;
|
|
456
|
+
readonly PainPanic: 347;
|
|
457
|
+
readonly PainSprayed: 348;
|
|
458
|
+
readonly PainCjBoxing: 349;
|
|
459
|
+
readonly PainCjGrunt: 350;
|
|
460
|
+
readonly PainCjPantIn: 351;
|
|
461
|
+
readonly PainCjPantOut: 352;
|
|
462
|
+
readonly PainCjPuke: 353;
|
|
463
|
+
readonly PainCjStrain: 354;
|
|
464
|
+
readonly PainCjStrainExhale: 355;
|
|
465
|
+
readonly PainCjSwimGasp: 356;
|
|
466
|
+
readonly PainCjDrowning: 357;
|
|
467
|
+
readonly PainCjHighFall: 358;
|
|
468
|
+
};
|
|
469
|
+
/**
|
|
470
|
+
* Some of the game's own sounds, for `server.audio.playGame` (frontend
|
|
471
|
+
* ones: heard by the player, not from anywhere).
|
|
472
|
+
*/
|
|
473
|
+
export declare const GameSound: {
|
|
474
|
+
readonly Select: 1;
|
|
475
|
+
readonly Back: 2;
|
|
476
|
+
readonly Error: 4;
|
|
477
|
+
readonly PickupWeapon: 6;
|
|
478
|
+
readonly PickupMoney: 7;
|
|
479
|
+
readonly PickupHealth: 8;
|
|
480
|
+
readonly PickupAdrenaline: 9;
|
|
481
|
+
readonly PickupArmour: 10;
|
|
482
|
+
readonly PickupInfo: 11;
|
|
483
|
+
readonly CarNoCash: 14;
|
|
484
|
+
readonly CarIsHot: 15;
|
|
485
|
+
readonly CarRespray: 16;
|
|
486
|
+
readonly CarAlreadyRigged: 17;
|
|
487
|
+
readonly CarFitBomb: 18;
|
|
488
|
+
readonly FrenzyStarted: 21;
|
|
489
|
+
readonly FrenzyPassed: 23;
|
|
490
|
+
readonly FrenzyFailed: 24;
|
|
491
|
+
readonly DisplayInfo: 32;
|
|
492
|
+
readonly TimerCount: 33;
|
|
493
|
+
};
|
|
494
|
+
/** `hud.gameText` styles: the game's own (as SA-MP's GameTextForPlayer). */
|
|
495
|
+
export declare const GameTextStyle: {
|
|
496
|
+
/** Big, in the middle ("Mission passed"). */
|
|
497
|
+
readonly Middle: 0;
|
|
498
|
+
/** Bottom right. */
|
|
499
|
+
readonly BottomRight: 1;
|
|
500
|
+
/** White, in the middle. */
|
|
501
|
+
readonly WhiteMiddle: 2;
|
|
502
|
+
/** Smaller, in the middle. */
|
|
503
|
+
readonly MiddleSmaller: 3;
|
|
504
|
+
/** Smaller, a bit higher. */
|
|
505
|
+
readonly MiddleSmallerHigher: 4;
|
|
506
|
+
/** Small and white, in the middle. */
|
|
507
|
+
readonly WhiteMiddleSmaller: 5;
|
|
508
|
+
/** Light blue, at the top. */
|
|
509
|
+
readonly LightBlueTop: 6;
|
|
510
|
+
};
|
|
511
|
+
/** Tuning part slots (SA-MP's component types), for `vehicle.componentInSlot`. */
|
|
512
|
+
export declare const ComponentSlot: {
|
|
513
|
+
readonly Spoiler: 0;
|
|
514
|
+
readonly Hood: 1;
|
|
515
|
+
readonly Roof: 2;
|
|
516
|
+
readonly SideSkirt: 3;
|
|
517
|
+
readonly Lamps: 4;
|
|
518
|
+
readonly Nitro: 5;
|
|
519
|
+
readonly Exhaust: 6;
|
|
520
|
+
readonly Wheels: 7;
|
|
521
|
+
readonly Stereo: 8;
|
|
522
|
+
readonly Hydraulics: 9;
|
|
523
|
+
readonly FrontBumper: 10;
|
|
524
|
+
readonly RearBumper: 11;
|
|
525
|
+
readonly VentRight: 12;
|
|
526
|
+
readonly VentLeft: 13;
|
|
527
|
+
};
|
|
528
|
+
/** Bones for `player.attachObject` (SA-MP's attached-object bones). */
|
|
529
|
+
export declare const Bone: {
|
|
530
|
+
readonly Spine: 1;
|
|
531
|
+
readonly Head: 2;
|
|
532
|
+
readonly LeftUpperArm: 3;
|
|
533
|
+
readonly RightUpperArm: 4;
|
|
534
|
+
readonly LeftHand: 5;
|
|
535
|
+
readonly RightHand: 6;
|
|
536
|
+
readonly LeftThigh: 7;
|
|
537
|
+
readonly RightThigh: 8;
|
|
538
|
+
readonly LeftFoot: 9;
|
|
539
|
+
readonly RightFoot: 10;
|
|
540
|
+
readonly RightCalf: 11;
|
|
541
|
+
readonly LeftCalf: 12;
|
|
542
|
+
readonly LeftForearm: 13;
|
|
543
|
+
readonly RightForearm: 14;
|
|
544
|
+
readonly LeftClavicle: 15;
|
|
545
|
+
readonly RightClavicle: 16;
|
|
546
|
+
readonly Neck: 17;
|
|
547
|
+
readonly Jaw: 18;
|
|
548
|
+
};
|
|
549
|
+
/** Canvases for `object.setMaterialText` (SA-MP's OBJECT_MATERIAL_SIZE_*). */
|
|
550
|
+
export declare const MaterialSize: {
|
|
551
|
+
readonly Size32x32: 10;
|
|
552
|
+
readonly Size64x32: 20;
|
|
553
|
+
readonly Size64x64: 30;
|
|
554
|
+
readonly Size128x32: 40;
|
|
555
|
+
readonly Size128x64: 50;
|
|
556
|
+
readonly Size128x128: 60;
|
|
557
|
+
readonly Size256x32: 70;
|
|
558
|
+
readonly Size256x64: 80;
|
|
559
|
+
readonly Size256x128: 90;
|
|
560
|
+
readonly Size256x256: 100;
|
|
561
|
+
readonly Size512x64: 110;
|
|
562
|
+
readonly Size512x128: 120;
|
|
563
|
+
readonly Size512x256: 130;
|
|
564
|
+
readonly Size512x512: 140;
|
|
565
|
+
};
|
|
566
|
+
/** How `object.setMaterialText` lines up its text (SA-MP's OBJECT_MATERIAL_TEXT_ALIGN_*). */
|
|
567
|
+
export declare const MaterialTextAlign: {
|
|
568
|
+
readonly Left: 0;
|
|
569
|
+
readonly Center: 1;
|
|
570
|
+
readonly Right: 2;
|
|
571
|
+
};
|
|
572
|
+
/** The game's explosions, for `server.createExplosion` (eExplosionType). */
|
|
573
|
+
export declare const ExplosionType: {
|
|
574
|
+
readonly Grenade: 0;
|
|
575
|
+
readonly Molotov: 1;
|
|
576
|
+
readonly Rocket: 2;
|
|
577
|
+
readonly WeakRocket: 3;
|
|
578
|
+
readonly Car: 4;
|
|
579
|
+
readonly QuickCar: 5;
|
|
580
|
+
readonly Boat: 6;
|
|
581
|
+
readonly Aircraft: 7;
|
|
582
|
+
readonly Mine: 8;
|
|
583
|
+
readonly Object: 9;
|
|
584
|
+
readonly TankFire: 10;
|
|
585
|
+
readonly Small: 11;
|
|
586
|
+
readonly Tiny: 12;
|
|
587
|
+
};
|
|
588
|
+
/** Fighting styles, for `player.fightingStyle` (as SA-MP's FIGHT_STYLE_*). */
|
|
589
|
+
export declare const FightingStyle: {
|
|
590
|
+
readonly Normal: 4;
|
|
591
|
+
readonly Boxing: 5;
|
|
592
|
+
readonly KungFu: 6;
|
|
593
|
+
readonly KneeHead: 7;
|
|
594
|
+
readonly GrabKick: 15;
|
|
595
|
+
readonly Elbow: 16;
|
|
596
|
+
};
|
|
597
|
+
/**
|
|
598
|
+
* The game's buttons, as `player.keys` and `playerKeys` give them. What each
|
|
599
|
+
* does depends on where the player is: on foot (the names) or in a vehicle
|
|
600
|
+
* (in brackets). As SA-MP's KEY_ constants, but SAGL's own bits.
|
|
601
|
+
*/
|
|
602
|
+
export declare const Key: {
|
|
603
|
+
/** Sprint (accelerate). */
|
|
604
|
+
readonly Sprint: number;
|
|
605
|
+
/** Jump (brake / reverse). */
|
|
606
|
+
readonly Jump: number;
|
|
607
|
+
/** Enter or exit a vehicle: SA-MP's KEY_SECONDARY_ATTACK. */
|
|
608
|
+
readonly EnterExit: number;
|
|
609
|
+
/** Fire (fire a vehicle's weapon). */
|
|
610
|
+
readonly Fire: number;
|
|
611
|
+
/** Action (secondary fire). */
|
|
612
|
+
readonly Action: number;
|
|
613
|
+
/** Previous weapon (look left). */
|
|
614
|
+
readonly LookLeft: number;
|
|
615
|
+
/** Aim (handbrake). */
|
|
616
|
+
readonly Aim: number;
|
|
617
|
+
/** Next weapon (look right). */
|
|
618
|
+
readonly LookRight: number;
|
|
619
|
+
/** Crouch (horn). */
|
|
620
|
+
readonly Crouch: number;
|
|
621
|
+
/** Look behind (sub-mission): SA-MP's KEY_SUBMISSION / KEY_LOOK_BEHIND. */
|
|
622
|
+
readonly LookBehind: number;
|
|
623
|
+
/** Group forward (next radio station). */
|
|
624
|
+
readonly GroupForward: number;
|
|
625
|
+
/** Group back (previous radio station): SA-MP's KEY_CTRL_BACK. */
|
|
626
|
+
readonly GroupBack: number;
|
|
627
|
+
/** Conversation: no. */
|
|
628
|
+
readonly No: number;
|
|
629
|
+
/** Conversation: yes. */
|
|
630
|
+
readonly Yes: number;
|
|
631
|
+
/** Walk (on foot). */
|
|
632
|
+
readonly Walk: number;
|
|
633
|
+
};
|
|
634
|
+
/** True if `key` went down between `old` and `keys` (as `playerKeys` gives them). */
|
|
635
|
+
export declare function keyPressed(keys: number, old: number, key: number): boolean;
|
|
636
|
+
/** True if `key` came up between `old` and `keys`. */
|
|
637
|
+
export declare function keyReleased(keys: number, old: number, key: number): boolean;
|
|
638
|
+
/** The game's crimes (eCrimeType), for `player.playCrimeReport`. */
|
|
639
|
+
export declare const Crime: {
|
|
640
|
+
readonly FireWeapon: 1;
|
|
641
|
+
readonly DamagedPed: 2;
|
|
642
|
+
readonly FireWeaponHitPed: 3;
|
|
643
|
+
readonly DamageCar: 4;
|
|
644
|
+
readonly DamageCopCar: 5;
|
|
645
|
+
readonly CarSteal: 6;
|
|
646
|
+
readonly KillPedWithCar: 10;
|
|
647
|
+
readonly KillCopWithCar: 11;
|
|
648
|
+
readonly SetPedOnFire: 13;
|
|
649
|
+
readonly SetCopOnFire: 14;
|
|
650
|
+
readonly SetCarOnFire: 15;
|
|
651
|
+
readonly Explosion: 17;
|
|
652
|
+
readonly HitCar: 21;
|
|
653
|
+
readonly AimGun: 22;
|
|
654
|
+
};
|