@citizenfx/client 2.0.5540-1 → 2.0.5561-1

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.
Files changed (2) hide show
  1. package/natives_universal.d.ts +603 -253
  2. package/package.json +1 -1
@@ -176,8 +176,20 @@ declare function AddBlipForRadius(posX: number, posY: number, posZ: number, radi
176
176
  */
177
177
  declare function AddCamSplineNode(camera: number, x: number, y: number, z: number, xRot: number, yRot: number, zRot: number, length: number, p8: number, transitionType: number): void;
178
178
 
179
- declare function AddCamSplineNodeUsingCamera(cam: number, cam2: number, p2: number, p3: number): void;
180
- declare function N_0x0fb82563989cf4fb(cam: number, cam2: number, p2: number, p3: number): void;
179
+ /**
180
+ * Takes a camera and uses the information from it as a camera spline node.
181
+ * @param cam Camera to add cam2 as a node to
182
+ * @param cam2 Camera used for reference
183
+ * @param length Duration used for transition, has no effect for the first node.
184
+ */
185
+ declare function AddCamSplineNodeUsingCamera(cam: number, cam2: number, length: number, p3: number): void;
186
+ /**
187
+ * Takes a camera and uses the information from it as a camera spline node.
188
+ * @param cam Camera to add cam2 as a node to
189
+ * @param cam2 Camera used for reference
190
+ * @param length Duration used for transition, has no effect for the first node.
191
+ */
192
+ declare function N_0x0fb82563989cf4fb(cam: number, cam2: number, length: number, p3: number): void;
181
193
 
182
194
  declare function AddCamSplineNodeUsingCameraFrame(cam: number, cam2: number, p2: number, p3: number): void;
183
195
  declare function N_0x0a9f2a468b328e74(cam: number, cam2: number, p2: number, p3: number): void;
@@ -189,15 +201,6 @@ declare function AddCoverBlockingArea(playerX: number, playerY: number, playerZ:
189
201
 
190
202
  declare function AddCoverPoint(p0: number, p1: number, p2: number, p3: number, p4: number, p5: number, p6: number, p7: boolean): number;
191
203
 
192
- /**
193
- * Most likely ADD_CURRENT_*
194
- */
195
- declare function AddCurrentRise(xLow: number, yLow: number, xHigh: number, yHigh: number, height: number): number;
196
- /**
197
- * Most likely ADD_CURRENT_*
198
- */
199
- declare function N_0xfdbf4cdbc07e1706(xLow: number, yLow: number, xHigh: number, yHigh: number, height: number): number;
200
-
201
204
  /**
202
205
  * decal types:
203
206
  * public enum DecalTypes
@@ -425,6 +428,28 @@ declare function AddExplosion(x: number, y: number, z: number, explosionType: nu
425
428
  declare function AddExplosionWithUserVfx(x: number, y: number, z: number, explosionType: number, explosionFx: string | number, damageScale: number, isAudible: boolean, isInvisible: boolean, cameraShake: number): void;
426
429
  declare function AddSpecfxExplosion(x: number, y: number, z: number, explosionType: number, explosionFx: string | number, damageScale: number, isAudible: boolean, isInvisible: boolean, cameraShake: number): void;
427
430
 
431
+ /**
432
+ * Only 8 current rises can exist. If rises need to be changed, use REMOVE_EXTRA_CALMING_QUAD and then ADD_EXTRA_CALMING_QUAD again.
433
+ * After removing a rise, you will be able to add a rise again.
434
+ * @return If succeeded to add, returns a rise index that can be used on REMOVE_EXTRA_CALMING_QUAD.
435
+ If failed to add, returns -1 (make sure you don't pass -1 to REMOVE_EXTRA_CALMING_QUAD).
436
+ */
437
+ declare function AddExtraCalmingQuad(xLow: number, yLow: number, xHigh: number, yHigh: number, height: number): number;
438
+ /**
439
+ * Only 8 current rises can exist. If rises need to be changed, use REMOVE_EXTRA_CALMING_QUAD and then ADD_EXTRA_CALMING_QUAD again.
440
+ * After removing a rise, you will be able to add a rise again.
441
+ * @return If succeeded to add, returns a rise index that can be used on REMOVE_EXTRA_CALMING_QUAD.
442
+ If failed to add, returns -1 (make sure you don't pass -1 to REMOVE_EXTRA_CALMING_QUAD).
443
+ */
444
+ declare function N_0xfdbf4cdbc07e1706(xLow: number, yLow: number, xHigh: number, yHigh: number, height: number): number;
445
+ /**
446
+ * Only 8 current rises can exist. If rises need to be changed, use REMOVE_EXTRA_CALMING_QUAD and then ADD_EXTRA_CALMING_QUAD again.
447
+ * After removing a rise, you will be able to add a rise again.
448
+ * @return If succeeded to add, returns a rise index that can be used on REMOVE_EXTRA_CALMING_QUAD.
449
+ If failed to add, returns -1 (make sure you don't pass -1 to REMOVE_EXTRA_CALMING_QUAD).
450
+ */
451
+ declare function AddCurrentRise(xLow: number, yLow: number, xHigh: number, yHigh: number, height: number): number;
452
+
428
453
  /**
429
454
  * Returns the index of the newly created hospital spawn point.
430
455
  * p3 might be radius?
@@ -1345,14 +1370,22 @@ declare function N_0xa1dd82f3ccf9a01e(vehicle: number, entity: number, p2: numbe
1345
1370
  declare function AttachEntityToCargobob(vehicle: number, entity: number, p2: number, x: number, y: number, z: number): void;
1346
1371
 
1347
1372
  /**
1348
- * Attaches entity1 to bone (boneIndex) of entity2.
1349
- * boneIndex - this is different to boneID, use GET_PED_BONE_INDEX to get the index from the ID. use the index for attaching to specific bones. entity1 will be attached to entity2's centre if bone index given doesn't correspond to bone indexes for that entity type.
1350
- * useSoftPinning - if set to false attached entity will not detach when fixed
1351
- * collision - controls collision between the two entities (FALSE disables collision).
1352
- * isPed - pitch doesnt work when false and roll will only work on negative numbers (only peds)
1353
- * vertexIndex - position of vertex
1354
- * fixedRot - if false it ignores entity vector
1373
+ * Attach an entity to the specified entity.
1374
+ * @param entity1 Entity to attach.
1375
+ * @param entity2 Entity to attach `entity1` with.
1376
+ * @param boneIndex This is different to boneID, use ['GET_PED_BONE_INDEX'](#\_0x3F428D08BE5AAE31) to get the index from the ID. use the index for attaching to specific bones. `entity1` will be attached to the center of `entity2` if bone index given doesn't correspond to bone indexes for that entity type.
1377
+ * @param xPos X-axis offset from the center of `entity2`.
1378
+ * @param yPos Y-axis offset from the center of `entity2`.
1379
+ * @param zPos Z-axis offset from the center of `entity2`.
1380
+ * @param xRot X-axis rotation.
1381
+ * @param yRot Y-axis rotation.
1382
+ * @param zRot Z-axis rotation.
1383
+ * @param p9 Unknown. Does not seem to have any effect.
1384
+ * @param useSoftPinning If set to false attached entity will not detach when fixed.
1385
+ * @param collision Controls collision between the two entities (FALSE disables collision).
1386
+ * @param isPed Pitch doesnt work when false and roll will only work on negative numbers (only peds)
1355
1387
  * @param rotationOrder The order in which the rotation is applied. See [`GET_ENTITY_ROTATION`](#\_0xAFBD61CC738D9EB9)
1388
+ * @param fixedRot If false it ignores entity vector.
1356
1389
  */
1357
1390
  declare function AttachEntityToEntity(entity1: number, entity2: number, boneIndex: number, xPos: number, yPos: number, zPos: number, xRot: number, yRot: number, zRot: number, p9: boolean, useSoftPinning: boolean, collision: boolean, isPed: boolean, rotationOrder: number, fixedRot: boolean): void;
1358
1391
 
@@ -2125,9 +2158,12 @@ declare function CanSetEnterStateForRegisteredEntity(cutsceneEntName: string, mo
2125
2158
  declare function CanSetExitStateForCamera(p0: boolean): boolean;
2126
2159
 
2127
2160
  /**
2161
+ * Returns if the script can begin interacting with the registered entity. Primarly used for lead-outs of cutscenes.
2162
+ * Returns on frame after cutscene ends, so you cannot get is while using IsCutsceneActive()
2128
2163
  * Whether it is safe to start doing scripted actions on the entity, like simulating walking out of a cutscene.
2129
2164
  * @param cutsceneEntName i.e Michael
2130
2165
  * @param modelHash Can be 0
2166
+ * @return Whether or not it is safe to begin interacting with the entity
2131
2167
  */
2132
2168
  declare function CanSetExitStateForRegisteredEntity(cutsceneEntName: string, modelHash: string | number): boolean;
2133
2169
 
@@ -2362,6 +2398,19 @@ declare function N_0x15e69e2802c24b8d(p0: number): void;
2362
2398
  declare function CellCamSetVerticalOffset(p0: number): void;
2363
2399
  declare function N_0x3117d84efa60f77b(p0: number): void;
2364
2400
 
2401
+ /**
2402
+ * Displays cash change notifications on HUD.
2403
+ */
2404
+ declare function ChangeFakeMpCash(cash: number, bank: number): void;
2405
+ /**
2406
+ * Displays cash change notifications on HUD.
2407
+ */
2408
+ declare function SetSingleplayerHudCash(cash: number, bank: number): void;
2409
+ /**
2410
+ * Displays cash change notifications on HUD.
2411
+ */
2412
+ declare function SetPlayerCashChange(cash: number, bank: number): void;
2413
+
2365
2414
  declare function ChangePlayerPed(player: number, ped: number, b2: boolean, resetDamage: boolean): void;
2366
2415
 
2367
2416
  /**
@@ -2622,6 +2671,10 @@ declare function ClearPedAlternateMovementAnim(ped: number, stance: number, p2:
2622
2671
 
2623
2672
  declare function ClearPedAlternateWalkAnim(ped: number, p1: number): void;
2624
2673
 
2674
+ /**
2675
+ * Clears the blood on a ped.
2676
+ * @param ped Ped id.
2677
+ */
2625
2678
  declare function ClearPedBloodDamage(ped: number): void;
2626
2679
 
2627
2680
  /**
@@ -7593,13 +7646,7 @@ declare function GetActiveWebsiteId(): number;
7593
7646
 
7594
7647
  declare function GetCurrentWebsiteId(): number;
7595
7648
 
7596
- /**
7597
- * Jenkins hash probably is 0xFD8B1AC2
7598
- */
7599
7649
  declare function GetCutFileNumSections(cutsceneName: string): number;
7600
- /**
7601
- * Jenkins hash probably is 0xFD8B1AC2
7602
- */
7603
7650
  declare function N_0x0abc54de641dc0fc(cutsceneName: string): number;
7604
7651
 
7605
7652
  /**
@@ -8133,12 +8180,9 @@ declare function GetEntityRotationVelocity(entity: number): number[];
8133
8180
  declare function GetEntityScript(entity: number, script?: number): [string, number];
8134
8181
 
8135
8182
  /**
8136
- * result is in meters per second
8137
- * ------------------------------------------------------------
8138
- * So would the conversion to mph and km/h, be along the lines of this.
8139
- * float speed = GET_ENTITY_SPEED(veh);
8140
- * float kmh = (speed * 3.6);
8141
- * float mph = (speed * 2.236936);
8183
+ * Get the speed of a entity.
8184
+ * @param entity Entity id you want to test for speed.
8185
+ * @return Speed of a entity in m/s. You can convert to km/h using the value you get and multiply by 3.6, and miles/h by 2.236936. Also, the float returned is the length of [GET_ENTITY_SPEED_VECTOR](?\_0x9A8D700A51CB7B0D)
8142
8186
  */
8143
8187
  declare function GetEntitySpeed(entity: number): number;
8144
8188
 
@@ -8432,6 +8476,15 @@ declare function N_0x869daacbbe9fa006(): boolean;
8432
8476
  declare function GetGpsBlipRouteLength(): number;
8433
8477
  declare function N_0xbbb45c3cf5c8aa85(): number;
8434
8478
 
8479
+ /**
8480
+ * p3 can be 0, 1 or 2.
8481
+ */
8482
+ declare function GetGpsWaypointRouteEnd(p1: boolean, p2: number, p3: number): [boolean, number[]];
8483
+ /**
8484
+ * p3 can be 0, 1 or 2.
8485
+ */
8486
+ declare function N_0xf3162836c28f9da5(p1: boolean, p2: number, p3: number): [boolean, number[]];
8487
+
8435
8488
  declare function GetGroundZAndNormalFor_3dCoord(x: number, y: number, z: number): [boolean, number, number[]];
8436
8489
  declare function N_0x8bdc7bfc57a81e76(x: number, y: number, z: number): [boolean, number, number[]];
8437
8490
  declare function GetGroundZCoordWithOffsets(x: number, y: number, z: number): [boolean, number, number[]];
@@ -8672,11 +8725,15 @@ declare function GetInteriorFromEntity(entity: number): number;
8672
8725
  /**
8673
8726
  * NativeDB Introduced: v1604
8674
8727
  */
8675
- declare function GetInteriorFromGameplayCam(): number;
8728
+ declare function GetInteriorFromPrimaryView(): number;
8676
8729
  /**
8677
8730
  * NativeDB Introduced: v1604
8678
8731
  */
8679
8732
  declare function N_0xe7d267ec6ca966c3(): number;
8733
+ /**
8734
+ * NativeDB Introduced: v1604
8735
+ */
8736
+ declare function GetInteriorFromGameplayCam(): number;
8680
8737
 
8681
8738
  /**
8682
8739
  * Returns the group ID of the specified interior. For example, regular interiors have group 0, subway interiors have group 1. There are a few other groups too.
@@ -8690,7 +8747,14 @@ declare function GetInteriorGroupId(interior: number): number;
8690
8747
  declare function GetInteriorHeading(interior: number): number;
8691
8748
 
8692
8749
  /**
8693
- * GET_INTERIOR_*
8750
+ * NativeDB Introduced: v1290
8751
+ */
8752
+ declare function GetInteriorLocationAndNamehash(interior: number): [number[], number];
8753
+ /**
8754
+ * NativeDB Introduced: v1290
8755
+ */
8756
+ declare function N_0x252bdc06b73fa6ea(interior: number): [number[], number];
8757
+ /**
8694
8758
  * NativeDB Introduced: v1290
8695
8759
  */
8696
8760
  declare function GetInteriorInfo(interior: number): [number[], number];
@@ -9517,6 +9581,9 @@ declare function GetNumModColors(paintType: number, p1: boolean): number;
9517
9581
 
9518
9582
  declare function GetNumModKits(vehicle: number): number;
9519
9583
 
9584
+ declare function GetNumNavmeshesExistingInArea(p0: number, p1: number, p2: number, p3: number, p4: number, p5: number): number;
9585
+ declare function N_0x01708e8dd3ff8c65(p0: number, p1: number, p2: number, p3: number, p4: number, p5: number): number;
9586
+
9520
9587
  /**
9521
9588
  * p0 appears to be for MP
9522
9589
  * ```
@@ -11317,8 +11384,9 @@ declare function GetResourceMetadata(resourceName: string, metadataKey: string,
11317
11384
  */
11318
11385
  declare function GetResourceState(resourceName: string): string;
11319
11386
 
11320
- declare function GetRoadSidePointWithHeading(x: number, y: number, z: number, heading: number): [boolean, number[]];
11387
+ declare function GetRoadBoundaryUsingHeading(x: number, y: number, z: number, heading: number): [boolean, number[]];
11321
11388
  declare function N_0xa0f8a7517a273c05(x: number, y: number, z: number, heading: number): [boolean, number[]];
11389
+ declare function GetRoadSidePointWithHeading(x: number, y: number, z: number, heading: number): [boolean, number[]];
11322
11390
 
11323
11391
  declare function GetRoomKeyForGameViewport(): number;
11324
11392
  declare function N_0xa6575914d2a0b450(): number;
@@ -11403,7 +11471,8 @@ declare function GetSafePickupCoords(x: number, y: number, z: number, p3: number
11403
11471
  declare function GetSafeZoneSize(): number;
11404
11472
 
11405
11473
  /**
11406
- * Gets mouse selection data from scaleforms with mouse support. Must be checked every frame
11474
+ * Gets mouse selection data from scaleforms with mouse support. Must be checked every frame.
11475
+ * Returns item index if using the COLOUR_SWITCHER\_02 scaleform.
11407
11476
  * Selection types, found in MOUSE_EVENTS.as:
11408
11477
  * MOUSE_DRAG_OUT = 0;
11409
11478
  * MOUSE_DRAG_OVER = 1;
@@ -11423,14 +11492,19 @@ declare function GetSafeZoneSize(): number;
11423
11492
  * * MP_NEXT_JOB_SELECTION
11424
11493
  * * SC_LEADERBOARD
11425
11494
  * Probably works with other scaleforms, needs more research.
11495
+ * In order to use this Native you MUST have controls 239, 240, 237, 238 enabled!
11496
+ * This native, due to its erroneous redundancy of the returned boolean value, works differently in C#: shifting the parameters (where `received` becomes `selectionType` and so on making the fourth parameter unused and always 0).
11426
11497
  * @param scaleformHandle Handle of the scaleform
11427
- * @param received Returns a boolean indicating if the data was received successfully
11428
- * @param slotIndex Index of the slot the mouse is hovering on
11429
- * @param p4 Purpose unknown, always returns -1 or 0. Returns item index if using the COLOUR_SWITCHER\_02 scaleform
11498
+ * @param received Returns a boolean indicating if the data was received successfully (in Lua).
11499
+ * @param selectionType The type of MouseEvent specified above.
11500
+ * @param context Context of the slot the mouse is hovering on.
11501
+ * @param slotIndex Index of the slot the mouse is hovering on.
11502
+ * @return * **retVal** Returns true if MOUSE_EVENT callback from Scaleforms has been called.
11430
11503
  */
11431
11504
  declare function GetScaleformMovieCursorSelection(scaleformHandle: number): [boolean, any /* actually bool */, number, number, number];
11432
11505
  /**
11433
- * Gets mouse selection data from scaleforms with mouse support. Must be checked every frame
11506
+ * Gets mouse selection data from scaleforms with mouse support. Must be checked every frame.
11507
+ * Returns item index if using the COLOUR_SWITCHER\_02 scaleform.
11434
11508
  * Selection types, found in MOUSE_EVENTS.as:
11435
11509
  * MOUSE_DRAG_OUT = 0;
11436
11510
  * MOUSE_DRAG_OVER = 1;
@@ -11450,10 +11524,14 @@ declare function GetScaleformMovieCursorSelection(scaleformHandle: number): [boo
11450
11524
  * * MP_NEXT_JOB_SELECTION
11451
11525
  * * SC_LEADERBOARD
11452
11526
  * Probably works with other scaleforms, needs more research.
11527
+ * In order to use this Native you MUST have controls 239, 240, 237, 238 enabled!
11528
+ * This native, due to its erroneous redundancy of the returned boolean value, works differently in C#: shifting the parameters (where `received` becomes `selectionType` and so on making the fourth parameter unused and always 0).
11453
11529
  * @param scaleformHandle Handle of the scaleform
11454
- * @param received Returns a boolean indicating if the data was received successfully
11455
- * @param slotIndex Index of the slot the mouse is hovering on
11456
- * @param p4 Purpose unknown, always returns -1 or 0. Returns item index if using the COLOUR_SWITCHER\_02 scaleform
11530
+ * @param received Returns a boolean indicating if the data was received successfully (in Lua).
11531
+ * @param selectionType The type of MouseEvent specified above.
11532
+ * @param context Context of the slot the mouse is hovering on.
11533
+ * @param slotIndex Index of the slot the mouse is hovering on.
11534
+ * @return * **retVal** Returns true if MOUSE_EVENT callback from Scaleforms has been called.
11457
11535
  */
11458
11536
  declare function N_0x632b2940c67f4ea9(scaleformHandle: number): [boolean, any /* actually bool */, number, number, number];
11459
11537
 
@@ -12589,6 +12667,19 @@ declare function GetVehicleIndicatorLights(vehicle: number): number;
12589
12667
  declare function GetVehicleInteriorColor(vehicle: number, color?: number): number;
12590
12668
  declare function GetVehicleInteriorColour(vehicle: number, color?: number): number;
12591
12669
 
12670
+ /**
12671
+ * Only used like this:
12672
+ * if (VEHICLE::GET_VEHICLE_IS_MERCENARY(ENTITY::GET_VEHICLE_INDEX_FROM_ENTITY_INDEX(v_3))) { sub_157e9c(g_40001._f1868, 0);
12673
+ * }
12674
+ */
12675
+ declare function GetVehicleIsMercenary(vehicle: number): boolean;
12676
+ /**
12677
+ * Only used like this:
12678
+ * if (VEHICLE::GET_VEHICLE_IS_MERCENARY(ENTITY::GET_VEHICLE_INDEX_FROM_ENTITY_INDEX(v_3))) { sub_157e9c(g_40001._f1868, 0);
12679
+ * }
12680
+ */
12681
+ declare function N_0xd4c4642cb7f50b5d(vehicle: number): boolean;
12682
+
12592
12683
  declare function GetVehicleLayoutHash(vehicle: number): number;
12593
12684
 
12594
12685
  declare function GetVehicleLightMultiplier(vehicle: number): number;
@@ -12727,15 +12818,6 @@ declare function N_0xc6ad107ddc9054cc(modelHash: string | number): number;
12727
12818
  */
12728
12819
  declare function GetVehicleModelMaxTraction(modelHash: string | number): number;
12729
12820
 
12730
- /**
12731
- * Returns `nMonetaryValue` from handling.meta for specific model.
12732
- */
12733
- declare function GetVehicleModelMonetaryValue(vehicleModel: string | number): number;
12734
- /**
12735
- * Returns `nMonetaryValue` from handling.meta for specific model.
12736
- */
12737
- declare function N_0x5873c14a52d74236(vehicleModel: string | number): number;
12738
-
12739
12821
  /**
12740
12822
  * GET_VEHICLE_MODEL_*
12741
12823
  * called if the vehicle is a boat -- returns vecMoveResistanceX?
@@ -12756,6 +12838,19 @@ declare function GetVehicleModelNumberOfSeats(modelHash: string | number): numbe
12756
12838
  */
12757
12839
  declare function GetVehicleModelMaxNumberOfPassengers(modelHash: string | number): number;
12758
12840
 
12841
+ /**
12842
+ * Returns `nMonetaryValue` from handling.meta for specific model, which is the vehicle's monetary value.
12843
+ */
12844
+ declare function GetVehicleModelValue(vehicleModel: string | number): number;
12845
+ /**
12846
+ * Returns `nMonetaryValue` from handling.meta for specific model, which is the vehicle's monetary value.
12847
+ */
12848
+ declare function N_0x5873c14a52d74236(vehicleModel: string | number): number;
12849
+ /**
12850
+ * Returns `nMonetaryValue` from handling.meta for specific model, which is the vehicle's monetary value.
12851
+ */
12852
+ declare function GetVehicleModelMonetaryValue(vehicleModel: string | number): number;
12853
+
12759
12854
  /**
12760
12855
  * Gets the color of the neon lights of the specified vehicle.
12761
12856
  * See [`_SET_VEHICLE_NEON_LIGHTS_COLOUR`](#\_0x8E0A582209A62695) for more information
@@ -13955,6 +14050,9 @@ declare function N_0xe8a169e666cbc541(): boolean;
13955
14050
 
13956
14051
  declare function HasPickupBeenCollected(pickup: number): boolean;
13957
14052
 
14053
+ declare function HasPlayerBeenShotByCop(player: number, ms: number, p2: boolean): boolean;
14054
+ declare function N_0xbc0753c9ca14b506(player: number, ms: number, p2: boolean): boolean;
14055
+
13958
14056
  declare function HasPlayerBeenSpottedInStolenVehicle(player: number): boolean;
13959
14057
 
13960
14058
  declare function HasPlayerDamagedAtLeastOneNonAnimalPed(player: number): boolean;
@@ -14123,14 +14221,9 @@ declare function N_0x62ab793144de75dc(ped: number, p1: number, p2: boolean): voi
14123
14221
  */
14124
14222
  declare function HidePedWeaponForScriptedCutscene(ped: number, toggle: boolean): void;
14125
14223
 
14126
- /**
14127
- * Related to portable pickups
14128
- */
14129
- declare function HidePickup(pickup: number, toggle: boolean): void;
14130
- /**
14131
- * Related to portable pickups
14132
- */
14224
+ declare function HidePortablePickupWhenDetached(pickup: number, toggle: boolean): void;
14133
14225
  declare function N_0x867458251d47ccb2(pickup: number, toggle: boolean): void;
14226
+ declare function HidePickup(pickup: number, toggle: boolean): void;
14134
14227
 
14135
14228
  declare function HideScriptedHudComponentThisFrame(id: number): void;
14136
14229
 
@@ -14408,6 +14501,9 @@ declare function IsBoatAnchoredAndFrozen(vehicle: number): boolean;
14408
14501
  */
14409
14502
  declare function N_0xb0ad1238a709b1a2(vehicle: number): boolean;
14410
14503
 
14504
+ declare function IsBonnetCinematicCamRendering(): boolean;
14505
+ declare function N_0xd7360051c885628b(): boolean;
14506
+
14411
14507
  /**
14412
14508
  * See [`IS_POINT_IN_ANGLED_AREA`](#\_0x2A70BAE8883E4C81) for the definition of an angled area.
14413
14509
  * For projectiles, see: [`IS_PROJECTILE_TYPE_IN_ANGLED_AREA`](#\_0xF0BC12401061DEA0)
@@ -14447,11 +14543,15 @@ declare function IsCamSplinePaused(p0: number): boolean;
14447
14543
  /**
14448
14544
  * NativeDB Introduced: v1493
14449
14545
  */
14450
- declare function IsCinematicCamActive(): boolean;
14546
+ declare function IsCinematicCamInputActive(): boolean;
14451
14547
  /**
14452
14548
  * NativeDB Introduced: v1493
14453
14549
  */
14454
14550
  declare function N_0xf5f1e89a970b7796(): boolean;
14551
+ /**
14552
+ * NativeDB Introduced: v1493
14553
+ */
14554
+ declare function IsCinematicCamActive(): boolean;
14455
14555
 
14456
14556
  declare function IsCinematicCamRendering(): boolean;
14457
14557
 
@@ -16933,8 +17033,6 @@ declare function N_0x0150b6ff25a9e2e5(): void;
16933
17033
 
16934
17034
  declare function N_0x015b03ee1c43e6ec(p0: number): void;
16935
17035
 
16936
- declare function N_0x01708e8dd3ff8c65(p0: number, p1: number, p2: number, p3: number, p4: number, p5: number): number;
16937
-
16938
17036
  /**
16939
17037
  * NativeDB Introduced: v1290
16940
17038
  */
@@ -17018,8 +17116,6 @@ declare function N_0x06eaf70ae066441e(p0: number): void;
17018
17116
 
17019
17117
  declare function N_0x06ee9048fd080382(p0: boolean): void;
17020
17118
 
17021
- declare function N_0x07c61676e5bb52cd(p0: number): number;
17022
-
17023
17119
  declare function N_0x07dbd622d9533857(p0: number): number;
17024
17120
 
17025
17121
  declare function N_0x07eab372c8841d99(p0: number, p1: number, p2: number): number;
@@ -17101,8 +17197,6 @@ declare function N_0x0dd362f14f18942a(amount: number, p1: number, p2: number): v
17101
17197
 
17102
17198
  declare function N_0x0e4299c549f0d1f1(toggle: boolean): void;
17103
17199
 
17104
- declare function N_0x0e4f77f7b9d74d84(p0: number): void;
17105
-
17106
17200
  declare function N_0x0ede326d47cd0f3e(ped: number, player: number): boolean;
17107
17201
 
17108
17202
  /**
@@ -17118,8 +17212,6 @@ declare function N_0x0f62619393661d6e(p0: number, p1: number, p2: number): void;
17118
17212
  */
17119
17213
  declare function N_0x0f6f1ebbc4e1d5e6(scriptIndex: number, p1: string): boolean;
17120
17214
 
17121
- declare function N_0x0f73393bac7e6730(): [boolean, number, number];
17122
-
17123
17215
  /**
17124
17216
  * Doesn't actually return anything.
17125
17217
  * ```
@@ -17249,27 +17341,17 @@ declare function N_0x16da8172459434aa(): number;
17249
17341
 
17250
17342
  declare function N_0x170910093218c8b9(p0: number): [boolean, number];
17251
17343
 
17252
- /**
17253
- * Related to displaying cash on the HUD
17254
- * Always called before HUD::_SET_SINGLEPLAYER_HUD_CASH in decompiled scripts
17255
- */
17256
- declare function N_0x170f541e1cadd1de(p0: boolean): void;
17257
-
17258
17344
  /**
17259
17345
  * NativeDB Introduced: v2060
17260
17346
  */
17261
17347
  declare function N_0x17c9e241111a674d(p0: number, p1: number): void;
17262
17348
 
17263
- declare function N_0x17fca7199a530203(): number;
17349
+ declare function N_0x17fca7199a530203(): void;
17264
17350
 
17265
17351
  declare function N_0x182f266c2d9e2beb(vehicle: number, p1: number): void;
17266
17352
 
17267
- declare function N_0x1888694923ef4591(): void;
17268
-
17269
17353
  declare function N_0x19853b5b17d77bca(p0: number, p1?: number): [boolean, number];
17270
17354
 
17271
- declare function N_0x1989c6e6f67e76a8(): [boolean, number, number, number];
17272
-
17273
17355
  declare function N_0x19af7ed9b9d23058(): void;
17274
17356
 
17275
17357
  /**
@@ -17334,8 +17416,6 @@ declare function N_0x1cba05ae7bd7ee05(p0: number): void;
17334
17416
  */
17335
17417
  declare function N_0x1d12a56fc95be92e(): boolean;
17336
17418
 
17337
- declare function N_0x1d4446a62d35b0d0(p0: number, p1: number): number;
17338
-
17339
17419
  /**
17340
17420
  * IS_COMMERCE_*
17341
17421
  */
@@ -17619,8 +17699,6 @@ declare function N_0x29682e2ccf21e9b5(p0: number, p1: number, p2: number, p3: nu
17619
17699
  */
17620
17700
  declare function N_0x2a251aa48b2b46db(): void;
17621
17701
 
17622
- declare function N_0x2a5e0621dd815a9a(p0: number, p1: number, p2: number, p3: number): void;
17623
-
17624
17702
  /**
17625
17703
  * NativeDB Introduced: v1290
17626
17704
  */
@@ -17727,8 +17805,6 @@ declare function N_0x2e22fefa0100275e(): boolean;
17727
17805
 
17728
17806
  declare function N_0x2e4c123d1c8a710e(p0: number, p1: number, p2: number, p3: number, p4: number, p5: number, p6: number): number;
17729
17807
 
17730
- declare function N_0x2e89990ddff670c3(p0: number, p1: number): number;
17731
-
17732
17808
  /**
17733
17809
  * Appears to return whether the player is using the pause menu store. Can't be sure though.
17734
17810
  */
@@ -17990,11 +18066,6 @@ declare function N_0x3e9679c1dfcf422c(p0: number, p1: number): void;
17990
18066
 
17991
18067
  declare function N_0x3ebeac6c3f81f6bd(p0: number): void;
17992
18068
 
17993
- /**
17994
- * NETWORK_HAS_*
17995
- */
17996
- declare function N_0x3f9990bf5f22759c(p0: number): [boolean, number];
17997
-
17998
18069
  declare function N_0x3fa36981311fa4ff(netId: number, state: boolean): void;
17999
18070
 
18000
18071
  /**
@@ -18231,8 +18302,6 @@ declare function N_0x4df7cfff471a7fb1(p0: number): boolean;
18231
18302
  */
18232
18303
  declare function N_0x4e52e752c76e7e7a(p0: number): void;
18233
18304
 
18234
- declare function N_0x4e74e62e0a97e901(vehicle: number, p1: boolean): void;
18235
-
18236
18305
  /**
18237
18306
  * NativeDB Introduced: v323
18238
18307
  */
@@ -18249,6 +18318,7 @@ declare function N_0x4fcd976da686580c(p0: number): number;
18249
18318
  declare function N_0x4fcdbd3f0a813c25(p0: number, p1: number): void;
18250
18319
 
18251
18320
  /**
18321
+ * Related to the ped's weapon - flag used when disabling ped vehicle weapon
18252
18322
  * SET_PED_\*
18253
18323
  * ```
18254
18324
  * NativeDB Introduced: v1734
@@ -18469,8 +18539,6 @@ declare function N_0x5c48a1d6e3b33179(cam: number): boolean;
18469
18539
  */
18470
18540
  declare function N_0x5c497525f803486b(): void;
18471
18541
 
18472
- declare function N_0x5c4ebffa98bdb41c(p0: number): number;
18473
-
18474
18542
  /**
18475
18543
  * NativeDB Introduced: v1868
18476
18544
  */
@@ -18818,8 +18886,6 @@ declare function N_0x6fddad856e36988a(vehicle: number, toggle: boolean): void;
18818
18886
  */
18819
18887
  declare function N_0x6fddf453c0c756ec(): boolean;
18820
18888
 
18821
- declare function N_0x700569dba175a77c(p0: number): number;
18822
-
18823
18889
  /**
18824
18890
  * Clears the fields sets by [N\_0xc7f29ca00f46350e](#\_0xC7F29CA00F46350E) (1604 retail: 0x1424A7A10, 0x1424A7A11) and iterates over the global CDoor's bucket-list.
18825
18891
  * Related to its "Pre-networked state"?
@@ -18860,11 +18926,6 @@ declare function N_0x7148e0f43d11f0d9(): void;
18860
18926
 
18861
18927
  declare function N_0x71b008056e5692d6(): void;
18862
18928
 
18863
- /**
18864
- * NETWORK_HAS_*
18865
- */
18866
- declare function N_0x71dc455f5cd1c2b1(networkHandle: number): [boolean, number];
18867
-
18868
18929
  declare function N_0x71e7b2e657449aad(): number;
18869
18930
 
18870
18931
  declare function N_0x723c1ce13fbfdb67(p0: number, p1: number): void;
@@ -19116,8 +19177,6 @@ declare function N_0x80e3357fdef45c21(vehicle: number, toggle: boolean): void;
19116
19177
  */
19117
19178
  declare function N_0x810b5fcc52ec7ff0(p0: number, p1: number, p2: number, p3: number): void;
19118
19179
 
19119
- declare function N_0x8147fff6a718e1ad(p0: number): number;
19120
-
19121
19180
  declare function N_0x814af7dcaacc597b(p0: number): void;
19122
19181
 
19123
19182
  /**
@@ -19613,7 +19672,11 @@ declare function N_0x9fcb3cbfb3ead69a(p0: number, p1: number): void;
19613
19672
 
19614
19673
  declare function N_0x9fedf86898f100e9(): number;
19615
19674
 
19616
- declare function N_0xa01bc64dd4bfbbac(vehicle: number, p1: number): number;
19675
+ /**
19676
+ * Gets hash related to task happening with seat index
19677
+ * Native name: GET_I\*
19678
+ */
19679
+ declare function N_0xa01bc64dd4bfbbac(vehicle: number, seatIndex: number): number;
19617
19680
 
19618
19681
  declare function N_0xa08fe5e49bdc39dd(p0: number, p1: number, p2: boolean): void;
19619
19682
 
@@ -19755,11 +19818,6 @@ declare function N_0xa736cf7fb7c5bff4(): [number, number, number, number];
19755
19818
 
19756
19819
  declare function N_0xa761d4ac6115623d(): number;
19757
19820
 
19758
- /**
19759
- * NativeDB Introduced: v323
19760
- */
19761
- declare function N_0xa770c8eec6fb2ac5(): number;
19762
-
19763
19821
  declare function N_0xa7862bc5ed1dfd7e(p0: number, p1: number): [boolean, number, number];
19764
19822
 
19765
19823
  /**
@@ -20084,26 +20142,6 @@ declare function N_0xbb2333bb87ddd87f(p0: number, p1: number): void;
20084
20142
 
20085
20143
  declare function N_0xbb90e12cac1dab25(p0: number): void;
20086
20144
 
20087
- /**
20088
- * var num3 = PLAYER::GET_PLAYER_PED(l_2171); // proof l_2171 is a player
20089
- * var num17 = PLAYER::0x9DF75B2A(l_2171, 100, 0); // l_2171
20090
- * .ysc:
20091
- * if (PLAYER::GET_PLAYER_WANTED_LEVEL(l_6EF) < v_4) { // l_6EF is a player
20092
- * PLAYER::SET_PLAYER_WANTED_LEVEL(l_6EF, v_4, 0); // l_6EF
20093
- * PLAYER::SET_PLAYER_WANTED_LEVEL_NOW(l_6EF, 0); // l_6EF
20094
- * } else {
20095
- * PLAYER::_4669B3ED80F24B4E(l_6EF); // l_6EF
20096
- * HUD::_BA8D65C1C65702E5(1);
20097
- * a_0 = 1;
20098
- * }
20099
- * if (l_4B24[l_6F2 -- [[156]] ]._f8C != PLAYER::_BC0753C9CA14B506(l_6EF, 100, 0)) { // l_6EF
20100
- * l_4B24[l_6F2 -- [[156]] ]._f8C = PLAYER::_BC0753C9CA14B506(l_6EF, 100, 0); // l_6EF
20101
- * }
20102
- * Both was taken from fm_mission_controller
20103
- * GET_PLAYER_*
20104
- */
20105
- declare function N_0xbc0753c9ca14b506(player: number, p1: number, p2: boolean): boolean;
20106
-
20107
20145
  /**
20108
20146
  * Most likely ROPE_ATTACH_*
20109
20147
  */
@@ -20334,11 +20372,6 @@ declare function N_0xc8391c309684595a(): void;
20334
20372
 
20335
20373
  declare function N_0xc847b43f369ac0b5(): void;
20336
20374
 
20337
- /**
20338
- * NativeDB Introduced: v323
20339
- */
20340
- declare function N_0xc85a7127e7ad02aa(): number;
20341
-
20342
20375
  declare function N_0xc87e740d9f3872cc(): number;
20343
20376
 
20344
20377
  /**
@@ -20352,8 +20385,6 @@ declare function N_0xc8e1071177a23be5(): [boolean, number, number, number];
20352
20385
 
20353
20386
  declare function N_0xc8ede9bdbccba6d4(p1: number, p2: number, p3: number): number;
20354
20387
 
20355
- declare function N_0xc9b43a33d09cada7(p0: number): void;
20356
-
20357
20388
  declare function N_0xca465d9cc0d231ba(p0: number): void;
20358
20389
 
20359
20390
  declare function N_0xca4ae345a153d573(p0: boolean): void;
@@ -20444,18 +20475,8 @@ declare function N_0xcfeb46dcd7d8d5eb(p0: boolean): void;
20444
20475
  */
20445
20476
  declare function N_0xd05a3241b9a86f19(p0: number, p1: number): void;
20446
20477
 
20447
- declare function N_0xd0ee05fe193646ea(): [boolean, number, number, number];
20448
-
20449
20478
  declare function N_0xd10282b6e3751ba0(): number;
20450
20479
 
20451
- /**
20452
- * Sets a byte that is then used in session_host and session_join metrics when hosting or joining a session
20453
- * ```
20454
- * PLAYSTATS_S*
20455
- * ```
20456
- */
20457
- declare function N_0xd1032e482629049e(p0: number): void;
20458
-
20459
20480
  declare function N_0xd1942374085c8469(p0: number): void;
20460
20481
 
20461
20482
  declare function N_0xd1a1ee3b4fa8e760(p0: number): void;
@@ -20481,8 +20502,6 @@ declare function N_0xd29334ed1a256dbf(p0: number, p1: number, p2: number, p3: nu
20481
20502
 
20482
20503
  declare function N_0xd2dccd8e16e20997(p0: number): void;
20483
20504
 
20484
- declare function N_0xd302e99edf0449cf(p0: number): number;
20485
-
20486
20505
  /**
20487
20506
  * NETWORK_SESSION_IS_*
20488
20507
  */
@@ -20509,13 +20528,6 @@ declare function N_0xd4367d310f079db0(p0: number, p1: number, p2: number, p3: nu
20509
20528
  */
20510
20529
  declare function N_0xd4a7a435b3710d05(x: number, y: number, z: number, radius: number): void;
20511
20530
 
20512
- /**
20513
- * Only used like this:
20514
- * if (VEHICLE::_D4C4642CB7F50B5D(ENTITY::GET_VEHICLE_INDEX_FROM_ENTITY_INDEX(v_3))) { sub_157e9c(g_40001._f1868, 0);
20515
- * }
20516
- */
20517
- declare function N_0xd4c4642cb7f50b5d(vehicle: number): boolean;
20518
-
20519
20531
  declare function N_0xd558bec0bba7e8d2(p0: number, p1: number, p2: number, p3: number, p4: number): void;
20520
20532
 
20521
20533
  declare function N_0xd565f438137f0e10(p0: number, p1: number): void;
@@ -20532,8 +20544,6 @@ declare function N_0xd6ca58b3b53a0f22(p0: number): void;
20532
20544
  */
20533
20545
  declare function N_0xd6d7478ca62b8d41(p0: number, p1: number): void;
20534
20546
 
20535
- declare function N_0xd7360051c885628b(): number;
20536
-
20537
20547
  declare function N_0xd7b6c73cad419bcf(p0: boolean): void;
20538
20548
 
20539
20549
  /**
@@ -20676,11 +20686,6 @@ declare function N_0xe111a7c0d200cbc5(p0: number, p1: number): void;
20676
20686
  */
20677
20687
  declare function N_0xe154b48b68ef72bc(p0: number): boolean;
20678
20688
 
20679
- /**
20680
- * Native name is SET_PLANE_\*
20681
- */
20682
- declare function N_0xe16142b94664defd(vehicle: number, p1: boolean): void;
20683
-
20684
20689
  /**
20685
20690
  * Used with IS_LOOK_INVERTED() and negates its affect.
20686
20691
  * --
@@ -20972,8 +20977,6 @@ declare function ReturnZero(): number;
20972
20977
 
20973
20978
  declare function N_0xf2e07819ef1a5289(): boolean;
20974
20979
 
20975
- declare function N_0xf3162836c28f9da5(p0: number, p1: number, p2: number, p3: number): number;
20976
-
20977
20980
  /**
20978
20981
  * SET_VEHICLE_*
20979
20982
  */
@@ -21703,8 +21706,14 @@ declare function N_0xeeeda5e6d7080987(p0: number, p1: number): void;
21703
21706
  declare function NetworkCheckCommunicationPrivileges(p0: number, p1: number, p2: boolean): boolean;
21704
21707
  declare function N_0x83f28ce49fbbffba(p0: number, p1: number, p2: boolean): boolean;
21705
21708
 
21706
- declare function NetworkCheckDataManagerSucceededForHandle(p0: number, p1?: number): [boolean, number];
21707
- declare function N_0x44b37cdcae765aae(p0: number, p1?: number): [boolean, number];
21709
+ /**
21710
+ * Checks if the friendDataIndex in the friend data manager contains the data for the specified networkHandle
21711
+ */
21712
+ declare function NetworkCheckDataManagerSucceededForHandle(friendDataIndex: number, networkHandle?: number): [boolean, number];
21713
+ /**
21714
+ * Checks if the friendDataIndex in the friend data manager contains the data for the specified networkHandle
21715
+ */
21716
+ declare function N_0x44b37cdcae765aae(friendDataIndex: number, networkHandle?: number): [boolean, number];
21708
21717
 
21709
21718
  declare function NetworkCheckUserContentPrivileges(p0: number, p1: number, p2: boolean): boolean;
21710
21719
  declare function N_0x595f028698072dd9(p0: number, p1: number, p2: boolean): boolean;
@@ -21819,6 +21828,9 @@ declare function NetworkClearFoundGamers(): void;
21819
21828
  declare function NetworkClearGetGamerStatus(): void;
21820
21829
  declare function N_0x86e0660e4f5c956d(): void;
21821
21830
 
21831
+ declare function NetworkClearGroupActivity(): void;
21832
+ declare function N_0x1888694923ef4591(): void;
21833
+
21822
21834
  declare function NetworkClearPropertyId(): void;
21823
21835
  declare function N_0xc2b82527ca77053e(): void;
21824
21836
 
@@ -22428,6 +22440,9 @@ declare function N_0xe64a3ca08dfa37a9(areaHandle: number): boolean;
22428
22440
  declare function NetworkEntityAreaIsOccupied(areaHandle: number): boolean;
22429
22441
  declare function N_0x4a2d4e8bf4265b0f(areaHandle: number): boolean;
22430
22442
 
22443
+ declare function NetworkExplodeHeli(heli: number, isAudible: boolean, isInvisible: boolean, netScriptEntityId: number): void;
22444
+ declare function N_0x2a5e0621dd815a9a(heli: number, isAudible: boolean, isInvisible: boolean, netScriptEntityId: number): void;
22445
+
22431
22446
  /**
22432
22447
  * In the console script dumps, this is only referenced once.
22433
22448
  * NETWORK::NETWORK_EXPLODE_VEHICLE(vehicle, 1, 0, 0);
@@ -22471,6 +22486,9 @@ declare function N_0xf7b2cfde5c9f700d(p0: number, p1: number, p2: number, p3: nu
22471
22486
  declare function NetworkFinishBroadcastingData(): void;
22472
22487
  declare function N_0x64f62afb081e260d(): void;
22473
22488
 
22489
+ declare function NetworkForceLocalUseOfSyncedSceneCamera(sceneId: number): void;
22490
+ declare function N_0xc9b43a33d09cada7(sceneId: number): void;
22491
+
22474
22492
  declare function NetworkGamerHasHeadset(networkHandle: number): [boolean, number];
22475
22493
 
22476
22494
  declare function NetworkGamertagFromHandlePending(): boolean;
@@ -23039,6 +23057,9 @@ declare function N_0x659cf2ef7f550c4f(): boolean;
23039
23057
 
23040
23058
  declare function NetworkHasHeadset(): boolean;
23041
23059
 
23060
+ declare function NetworkHasInviteBeenAcked(networkHandle: number): [boolean, number];
23061
+ declare function N_0x71dc455f5cd1c2b1(networkHandle: number): [boolean, number];
23062
+
23042
23063
  declare function NetworkHasInvitedGamer(p0: number): [boolean, number];
23043
23064
 
23044
23065
  declare function NetworkHasInvitedGamerToTransition(p0: number): [boolean, number];
@@ -23069,6 +23090,9 @@ declare function N_0x67a5589628e0cff6(): boolean;
23069
23090
  declare function NetworkHasSocialNetworkingSharingPriv(): boolean;
23070
23091
  declare function N_0x76bf03fadbf154f5(): boolean;
23071
23092
 
23093
+ declare function NetworkHasTransitionInviteBeenAcked(networkHandle: number): [boolean, number];
23094
+ declare function N_0x3f9990bf5f22759c(networkHandle: number): [boolean, number];
23095
+
23072
23096
  /**
23073
23097
  * Returns whether the signed-in user has valid Rockstar Online Services (ROS) credentials.
23074
23098
  */
@@ -23995,6 +24019,9 @@ declare function N_0x5b8ed3db018927b1(timeout: number): void;
23995
24019
  declare function NetworkSessionWasInvited(): boolean;
23996
24020
  declare function N_0x23dfb504655d0ce4(): boolean;
23997
24021
 
24022
+ declare function NetworkSetActivityPlayerMax(playerCount: number): void;
24023
+ declare function N_0x0e4f77f7b9d74d84(playerCount: number): void;
24024
+
23998
24025
  declare function NetworkSetActivitySpectator(toggle: boolean): void;
23999
24026
 
24000
24027
  declare function NetworkSetActivitySpectatorMax(maxSpectators: number): void;
@@ -24055,8 +24082,8 @@ declare function NetworkSetInSpectatorMode(toggle: boolean, playerPed: number):
24055
24082
  declare function NetworkSetInSpectatorModeExtended(toggle: boolean, playerPed: number, p2: boolean): void;
24056
24083
  declare function N_0x419594e137637120(toggle: boolean, playerPed: number, p2: boolean): void;
24057
24084
 
24058
- declare function NetworkSetInviteOnCallForInviteMenu(p0: number): void;
24059
- declare function N_0x66f010a4b031a331(p0: number): void;
24085
+ declare function NetworkSetInviteOnCallForInviteMenu(networkHandle: number): void;
24086
+ declare function N_0x66f010a4b031a331(networkHandle: number): void;
24060
24087
 
24061
24088
  declare function NetworkSetLocalPlayerInvincibleTime(time: number): void;
24062
24089
 
@@ -24852,6 +24879,7 @@ declare function OpenOnlinePoliciesMenu(): void;
24852
24879
  declare function ShowSocialClubLegalScreen(): void;
24853
24880
 
24854
24881
  /**
24882
+ * The patrol route name must starts with "miss_" to be properly created.
24855
24883
  * patrolRoutes found in the b617d scripts:
24856
24884
  * "miss_Ass0",
24857
24885
  * "miss_Ass1",
@@ -25330,18 +25358,52 @@ declare function PlayFacialAnim(ped: number, animName: string, animDict: string)
25330
25358
  declare function PlayMissionCompleteAudio(audioName: string): void;
25331
25359
 
25332
25360
  /**
25333
- * Needs another parameter [int p2]. The signature is PED::PLAY_PAIN(Ped ped, int painID, int p1, int p2);
25334
- * Last 2 parameters always seem to be 0.
25335
- * EX: Function.Call(Hash.PLAY_PAIN, TestPed, 6, 0, 0);
25336
- * Known Pain IDs
25337
- * ________________________
25338
- * 1 - Doesn't seem to do anything. Does NOT crash the game like previously said. (Latest patch)
25339
- * 6 - Scream (Short)
25340
- * 7 - Scared Scream (Kinda Long)
25341
- * 8 - On Fire
25342
- * ```
25343
- * ```
25344
- * NativeDB Added Parameter 4: Any p3
25361
+ * **Warning**:
25362
+ * Parameters are wrong after painID. To preserve C-Sharp backwards compatibility, we can't add or remove parameters.
25363
+ * Correct parameters should be:\
25364
+ * `PLAY_PAIN(Ped ped, int painID, float p3, bool createNetEvent)`
25365
+ * Check the *examples* section for the correct usage of this native.
25366
+ * **Description:**
25367
+ * Plays a pain sound. A maximum of 33 pain IDs are allowed.\
25368
+ * `createNetEvent` creates a `CPedPlayPainEvent` when set to true.
25369
+ * Below is a list of all the pain IDs (Asterisks indicate that sounds can play in a Low, Medium or High fashion), for example: `PAIN_LOW_GENERIC`. The corresponding pain strings belong to the game exe.
25370
+ * **Pain IDs:**
25371
+ * * 0: PAIN_\*\_GENERIC (Low, Medium, High)
25372
+ * * 1: UNUSED
25373
+ * * 2: UNUSED
25374
+ * * 3: SCREAM_PANIC (Nothing can be heard)
25375
+ * * 4: SCREAM_PANIC_SHORT
25376
+ * * 5: SCREAM_SCARED
25377
+ * * 6: SCREAM_SHOCKED
25378
+ * * 7: SCREAM_TERROR
25379
+ * * 8: ON_FIRE
25380
+ * * 9: UNUSED
25381
+ * * 10: UNUSED
25382
+ * * 11: INHALE (Nothing can be heard)
25383
+ * * 12: EXHALE (Nothing can be heard)
25384
+ * * 13: DEATH_HIGH_SHORT
25385
+ * * 14: UNUSED
25386
+ * * 15: PAIN_HIGH_GENERIC
25387
+ * * 16: PAIN_\*\_GENERIC (Low, Medium, High)
25388
+ * * 17: PAIN_SHOVE
25389
+ * * 18: PAIN_WHEEZE
25390
+ * * 19: COUGH
25391
+ * * 20: PAIN_TAZER
25392
+ * * 21: UNUSED
25393
+ * * 22: CLIMB_LARGE (Nothing can be heard)
25394
+ * * 23: CLIMB_SMALL (Nothing can be heard)
25395
+ * * 24: JUMP (Nothing can be heard)
25396
+ * * 25: COWER
25397
+ * * 26: WHIMPER
25398
+ * * 27: DYING_MOAN
25399
+ * * 28: EXHALE_CYCLING (Nothing can be heard)
25400
+ * * 29: PAIN_RAPIDS (Nothing can be heard)
25401
+ * * 30: SNEEZE
25402
+ * * 31: MELEE_SMALL_GRUNT (Nothing can be heard)
25403
+ * * 32: MELEE_LARGE_GRUNT (Nothing can be heard)
25404
+ * * 33: PAIN_\*\_GENERIC (Low, Medium, High)
25405
+ * @param ped The ped entity.
25406
+ * @param painID The pain id, max allowed id is 33.
25345
25407
  */
25346
25408
  declare function PlayPain(ped: number, painID: number, p1: number): void;
25347
25409
 
@@ -25942,6 +26004,15 @@ declare function N_0x121fb4dddc2d5291(amount: number, act: number, player: numbe
25942
26004
  declare function PlaystatsSellContraband(data: number): void;
25943
26005
  declare function N_0xc729991a9065376e(data: number): void;
25944
26006
 
26007
+ /**
26008
+ * Sets a byte that is then used in session_host and session_join metrics when hosting or joining a session
26009
+ */
26010
+ declare function PlaystatsSetJoinType(joinType: number): void;
26011
+ /**
26012
+ * Sets a byte that is then used in session_host and session_join metrics when hosting or joining a session
26013
+ */
26014
+ declare function N_0xd1032e482629049e(joinType: number): void;
26015
+
25945
26016
  declare function PlaystatsShopItem(p0: number, p1: number, p2: number, p3: number, p4: number): void;
25946
26017
 
25947
26018
  /**
@@ -26085,6 +26156,14 @@ declare function PrepareSynchronizedAudioEvent(p0: string, p1: number): number;
26085
26156
 
26086
26157
  declare function PrepareSynchronizedAudioEventForScene(p0: number, p1?: number): [boolean, number];
26087
26158
 
26159
+ declare function PresenceEventUpdatestatFloat(statHash: string | number, value: number, p2: number): void;
26160
+ declare function N_0x30a6614c1f7799b8(statHash: string | number, value: number, p2: number): void;
26161
+ declare function UpdateStatFloat(statHash: string | number, value: number, p2: number): void;
26162
+
26163
+ declare function PresenceEventUpdatestatInt(statHash: string | number, value: number, p2: number): void;
26164
+ declare function N_0x11ff1c80276097ed(statHash: string | number, value: number, p2: number): void;
26165
+ declare function UpdateStatInt(statHash: string | number, value: number, p2: number): void;
26166
+
26088
26167
  /**
26089
26168
  * Only one match in the scripts:
26090
26169
  * GRAPHICS::PRESET_INTERIOR_AMBIENT_CACHE("int_carrier_hanger");
@@ -27601,26 +27680,50 @@ declare function N_0x55df6db45179236e(): void;
27601
27680
  declare function ScEmailMessagePushGamerToRecipList(networkHandle: number): void;
27602
27681
 
27603
27682
  /**
27604
- * Same as HAS_ACHIEVEMENT_BEEN_PASSED
27605
- */
27606
- declare function ScGetHasAchievementBeenPassed(achievement: number): boolean;
27607
- /**
27608
- * Same as HAS_ACHIEVEMENT_BEEN_PASSED
27683
+ * sfink: from scripts:
27684
+ * func_720(socialclub::_0x8416FE4E4629D7D7("bIgnoreCheaterOverride"));
27685
+ * func_719(socialclub::_0x8416FE4E4629D7D7("bIgnoreBadSportOverride"));
27609
27686
  */
27610
- declare function N_0x418dc16fae452c1c(achievement: number): boolean;
27611
-
27687
+ declare function ScGamerdataGetBool(name: string): boolean;
27612
27688
  /**
27613
27689
  * sfink: from scripts:
27614
27690
  * func_720(socialclub::_0x8416FE4E4629D7D7("bIgnoreCheaterOverride"));
27615
27691
  * func_719(socialclub::_0x8416FE4E4629D7D7("bIgnoreBadSportOverride"));
27616
27692
  */
27617
- declare function ScGetIsProfileAttributeSet(name: string): boolean;
27693
+ declare function N_0x8416fe4e4629d7d7(name: string): boolean;
27618
27694
  /**
27619
27695
  * sfink: from scripts:
27620
27696
  * func_720(socialclub::_0x8416FE4E4629D7D7("bIgnoreCheaterOverride"));
27621
27697
  * func_719(socialclub::_0x8416FE4E4629D7D7("bIgnoreBadSportOverride"));
27622
27698
  */
27623
- declare function N_0x8416fe4e4629d7d7(name: string): boolean;
27699
+ declare function ScGetIsProfileAttributeSet(name: string): boolean;
27700
+
27701
+ /**
27702
+ * NativeDB Introduced: v323
27703
+ */
27704
+ declare function ScGamerdataGetFloat(name: string, outValue?: number): [boolean, number];
27705
+ /**
27706
+ * NativeDB Introduced: v323
27707
+ */
27708
+ declare function N_0xa770c8eec6fb2ac5(name: string, outValue?: number): [boolean, number];
27709
+
27710
+ /**
27711
+ * NativeDB Introduced: v323
27712
+ */
27713
+ declare function ScGamerdataGetInt(name: string, outValue?: number): [boolean, number];
27714
+ /**
27715
+ * NativeDB Introduced: v323
27716
+ */
27717
+ declare function N_0xc85a7127e7ad02aa(name: string, outValue?: number): [boolean, number];
27718
+
27719
+ /**
27720
+ * Same as HAS_ACHIEVEMENT_BEEN_PASSED
27721
+ */
27722
+ declare function ScGetHasAchievementBeenPassed(achievement: number): boolean;
27723
+ /**
27724
+ * Same as HAS_ACHIEVEMENT_BEEN_PASSED
27725
+ */
27726
+ declare function N_0x418dc16fae452c1c(achievement: number): boolean;
27624
27727
 
27625
27728
  /**
27626
27729
  * Returns the nickname of the logged-in Rockstar Social Club account.
@@ -27673,6 +27776,97 @@ declare function N_0x6afd2cd753feef83(data: string): boolean;
27673
27776
  declare function ScInboxMessageSendUgcStatUpdateEvent(data: string): void;
27674
27777
  declare function N_0xa68d3d229f4f3b06(data: string): void;
27675
27778
 
27779
+ /**
27780
+ * Social Club native to add license plate for the user
27781
+ */
27782
+ declare function ScLicenseplateAdd(plateText: string, plateData: string, tokenOut?: number): [boolean, number];
27783
+ /**
27784
+ * Social Club native to add license plate for the user
27785
+ */
27786
+ declare function N_0x1989c6e6f67e76a8(plateText: string, plateData: string, tokenOut?: number): [boolean, number];
27787
+
27788
+ /**
27789
+ * Returns true if the add license plate text request is still pending.
27790
+ */
27791
+ declare function ScLicenseplateGetAddIsPending(token: number): boolean;
27792
+ /**
27793
+ * Returns true if the add license plate text request is still pending.
27794
+ */
27795
+ declare function N_0x07c61676e5bb52cd(token: number): boolean;
27796
+
27797
+ /**
27798
+ * Returns a status for adding the license plate
27799
+ */
27800
+ declare function ScLicenseplateGetAddStatus(token: number): number;
27801
+ /**
27802
+ * Returns a status for adding the license plate
27803
+ */
27804
+ declare function N_0x8147fff6a718e1ad(token: number): number;
27805
+
27806
+ /**
27807
+ * Gets number of plates in the response of the get license plates request.
27808
+ * Range: \[0, count) can be used as second argument to \_0x1D4446A62D35B0D0 and \_0x2E89990DDFF670C3
27809
+ */
27810
+ declare function ScLicenseplateGetCount(token: number): number;
27811
+ /**
27812
+ * Gets number of plates in the response of the get license plates request.
27813
+ * Range: \[0, count) can be used as second argument to \_0x1D4446A62D35B0D0 and \_0x2E89990DDFF670C3
27814
+ */
27815
+ declare function N_0x700569dba175a77c(token: number): number;
27816
+
27817
+ /**
27818
+ * Checks if the "is valid license plate" request is still pending.
27819
+ */
27820
+ declare function ScLicenseplateGetIsvalidIsPending(token: number): boolean;
27821
+ /**
27822
+ * Checks if the "is valid license plate" request is still pending.
27823
+ */
27824
+ declare function N_0xd302e99edf0449cf(token: number): boolean;
27825
+
27826
+ /**
27827
+ * Gets the status of the is valid license plate request
27828
+ */
27829
+ declare function ScLicenseplateGetIsvalidStatus(token: number): number;
27830
+ /**
27831
+ * Gets the status of the is valid license plate request
27832
+ */
27833
+ declare function N_0x5c4ebffa98bdb41c(token: number): number;
27834
+
27835
+ /**
27836
+ * Gets license plate text related to the get license plate info request
27837
+ * @param plateIndex The plate index from the list of result plates. Use SC_LICENSEPLATE_GET_COUNT for the number of plates.
27838
+ */
27839
+ declare function ScLicenseplateGetPlate(token: number, plateIndex: number): string;
27840
+
27841
+ /**
27842
+ * Gets license plate data related to the get license plate info request
27843
+ * @param plateIndex The plate index from the list of result plates. Use SC_LICENSEPLATE_GET_COUNT for the number of plates.
27844
+ */
27845
+ declare function ScLicenseplateGetPlateData(token: number, plateIndex: number): string;
27846
+ /**
27847
+ * Gets license plate data related to the get license plate info request
27848
+ * @param plateIndex The plate index from the list of result plates. Use SC_LICENSEPLATE_GET_COUNT for the number of plates.
27849
+ */
27850
+ declare function N_0x2e89990ddff670c3(token: number, plateIndex: number): string;
27851
+
27852
+ /**
27853
+ * SC native to start a request for if license plate text is valid
27854
+ */
27855
+ declare function ScLicenseplateIsvalid(plateText: string, tokenOut?: number): [boolean, number];
27856
+ /**
27857
+ * SC native to start a request for if license plate text is valid
27858
+ */
27859
+ declare function N_0x0f73393bac7e6730(plateText: string, tokenOut?: number): [boolean, number];
27860
+
27861
+ /**
27862
+ * Changes the license plate for the user (no insert).
27863
+ */
27864
+ declare function ScLicenseplateSetPlateData(oldPlateText: string, newPlateText: string, plateData: string): boolean;
27865
+ /**
27866
+ * Changes the license plate for the user (no insert).
27867
+ */
27868
+ declare function N_0xd0ee05fe193646ea(oldPlateText: string, newPlateText: string, plateData: string): boolean;
27869
+
27676
27870
  /**
27677
27871
  * NativeDB Introduced: v323
27678
27872
  * NativeDB Added Parameter 1: Hash attrHash
@@ -28781,7 +28975,91 @@ declare function N_0xa6385deb180f319f(cam: number, p1: number, scale: number): v
28781
28975
 
28782
28976
  declare function SetCamSplinePhase(cam: number, p1: number): void;
28783
28977
 
28978
+ /**
28979
+ * Sets the smoothing style for a DEFAULT_SPLINE_CAMERA
28980
+ * Ranges from 0 to 3 in rockstar scripts although there are actually 26
28981
+ * ```
28982
+ * 0: No lead-in or lead-out smoothing
28983
+ * 1: Smooth lead-in
28984
+ * 2: Smooth lead-out
28985
+ * 3: Both lead-in and lead-out are smoothed
28986
+ * 4-6: Longer speed up, lead-in, lead-out, and both in order as above.
28987
+ * 6: see above, but missed a node in testing(?)
28988
+ * 7: Smoothed lead-in, longer smoothed lead-out
28989
+ * 8: Longer lead-in and lead-out than 6, didn't drop node
28990
+ * 9: Constant acceleration
28991
+ * 10: Constant deceleration. Dropped 2 nodes in testing.
28992
+ * 11: Same as 0
28993
+ * 12: 10 but slower lead-in, reaches end node less early
28994
+ * 13: Extremely close to 3, slightly longer lead-in/lead-out
28995
+ * 14: Constant acceleration, dropped last 2 nodes in testing and halted (?)
28996
+ * 15: Very similar to 10, did not drop any nodes.
28997
+ * 16: Long lead-in, dropped 2 nodes in testing, very long leadout.
28998
+ * 17: Constant acceleration, slower speed-up than 9
28999
+ * 18: Same as 17 is to 9, slightly longer lead-out, lingers at end node
29000
+ * 19: Very long lead in and out
29001
+ * 20: Very long, gradual lead-in acceleration at start, gets extremely fast
29002
+ * 21: Same as 20 but for constant deceleration
29003
+ * 22: 20 and 21 combined, long linger at end node. Dropped 2 nodes in testing
29004
+ * 23: Constant acceleration, doesn't complete path before it stops
29005
+ * 24: Same as 23 but with constant deceleration, but completes path
29006
+ * 25: 23 and 24 combined, insanely fast at middle.
29007
+ * 26: No noticable lead-in, misses last 2 nodes in testing
29008
+ * 27+: Alternates between 0 and 26
29009
+ * ```
29010
+ * The above is documented and graphed at [Spline Cam Interp Graphs](https://docs.google.com/spreadsheets/d/1ejyiMcEYrhhQOL0mLe8664UN-vU4Oh-SBqQnVcKlFIk/edit?usp=sharing)
29011
+ * ```
29012
+ * Using 1-3 will result in misalignment from the passed durations for the spline nodes, the overall duration will remain but other nodes will be shortened if smoothing anything.
29013
+ * Graph below demonstrates interpolation between 0-1000 and back 10 times.
29014
+ * ![](https://i.imgur.com/cixWh7m.png)
29015
+ * ## Parameters
29016
+ * * **cam**: The DEFAULT_SPLINE_CAMERA to apply the smoothing to
29017
+ * * **smoothingStyle**: 0 to 3, 0 no additional smoothing, 1 smooth lead-in, 2 smooth lead-out, 3 smooth lead-in & lead-out
29018
+ * ```
29019
+ */
28784
29020
  declare function SetCamSplineSmoothingStyle(cam: number, smoothingStyle: number): void;
29021
+ /**
29022
+ * Sets the smoothing style for a DEFAULT_SPLINE_CAMERA
29023
+ * Ranges from 0 to 3 in rockstar scripts although there are actually 26
29024
+ * ```
29025
+ * 0: No lead-in or lead-out smoothing
29026
+ * 1: Smooth lead-in
29027
+ * 2: Smooth lead-out
29028
+ * 3: Both lead-in and lead-out are smoothed
29029
+ * 4-6: Longer speed up, lead-in, lead-out, and both in order as above.
29030
+ * 6: see above, but missed a node in testing(?)
29031
+ * 7: Smoothed lead-in, longer smoothed lead-out
29032
+ * 8: Longer lead-in and lead-out than 6, didn't drop node
29033
+ * 9: Constant acceleration
29034
+ * 10: Constant deceleration. Dropped 2 nodes in testing.
29035
+ * 11: Same as 0
29036
+ * 12: 10 but slower lead-in, reaches end node less early
29037
+ * 13: Extremely close to 3, slightly longer lead-in/lead-out
29038
+ * 14: Constant acceleration, dropped last 2 nodes in testing and halted (?)
29039
+ * 15: Very similar to 10, did not drop any nodes.
29040
+ * 16: Long lead-in, dropped 2 nodes in testing, very long leadout.
29041
+ * 17: Constant acceleration, slower speed-up than 9
29042
+ * 18: Same as 17 is to 9, slightly longer lead-out, lingers at end node
29043
+ * 19: Very long lead in and out
29044
+ * 20: Very long, gradual lead-in acceleration at start, gets extremely fast
29045
+ * 21: Same as 20 but for constant deceleration
29046
+ * 22: 20 and 21 combined, long linger at end node. Dropped 2 nodes in testing
29047
+ * 23: Constant acceleration, doesn't complete path before it stops
29048
+ * 24: Same as 23 but with constant deceleration, but completes path
29049
+ * 25: 23 and 24 combined, insanely fast at middle.
29050
+ * 26: No noticable lead-in, misses last 2 nodes in testing
29051
+ * 27+: Alternates between 0 and 26
29052
+ * ```
29053
+ * The above is documented and graphed at [Spline Cam Interp Graphs](https://docs.google.com/spreadsheets/d/1ejyiMcEYrhhQOL0mLe8664UN-vU4Oh-SBqQnVcKlFIk/edit?usp=sharing)
29054
+ * ```
29055
+ * Using 1-3 will result in misalignment from the passed durations for the spline nodes, the overall duration will remain but other nodes will be shortened if smoothing anything.
29056
+ * Graph below demonstrates interpolation between 0-1000 and back 10 times.
29057
+ * ![](https://i.imgur.com/cixWh7m.png)
29058
+ * ## Parameters
29059
+ * * **cam**: The DEFAULT_SPLINE_CAMERA to apply the smoothing to
29060
+ * * **smoothingStyle**: 0 to 3, 0 no additional smoothing, 1 smooth lead-in, 2 smooth lead-out, 3 smooth lead-in & lead-out
29061
+ * ```
29062
+ */
28785
29063
  declare function N_0xd1b0f412f109ea5d(cam: number, smoothingStyle: number): void;
28786
29064
 
28787
29065
  declare function SetCamUseShallowDofMode(cam: number, toggle: boolean): void;
@@ -28853,6 +29131,19 @@ declare function SetCarHighSpeedBumpSeverityMultiplier(multiplier: number): void
28853
29131
  */
28854
29132
  declare function N_0x84fd40f56075e816(multiplier: number): void;
28855
29133
 
29134
+ /**
29135
+ * Stops cargobob from being able to detach the attached vehicle.
29136
+ */
29137
+ declare function SetCargobobForceDontDetachVehicle(cargobob: number, toggle: boolean): void;
29138
+ /**
29139
+ * Stops cargobob from being able to detach the attached vehicle.
29140
+ */
29141
+ declare function N_0x571feb383f629926(cargobob: number, toggle: boolean): void;
29142
+ /**
29143
+ * Stops cargobob from being able to detach the attached vehicle.
29144
+ */
29145
+ declare function SetCargobobHookCanDetach(cargobob: number, toggle: boolean): void;
29146
+
28856
29147
  /**
28857
29148
  * Stops the cargobob from being able to attach any vehicle
28858
29149
  * ```
@@ -28868,15 +29159,6 @@ declare function SetCargobobHookCanAttach(vehicle: number, toggle: boolean): voi
28868
29159
  */
28869
29160
  declare function N_0x94a68da412c4007d(vehicle: number, toggle: boolean): void;
28870
29161
 
28871
- /**
28872
- * Stops cargobob from being able to detach the attached vehicle.
28873
- */
28874
- declare function SetCargobobHookCanDetach(cargobob: number, toggle: boolean): void;
28875
- /**
28876
- * Stops cargobob from being able to detach the attached vehicle.
28877
- */
28878
- declare function N_0x571feb383f629926(cargobob: number, toggle: boolean): void;
28879
-
28880
29162
  /**
28881
29163
  * Won't attract or magnetize to any helicopters or planes of course, but that's common sense.
28882
29164
  */
@@ -30906,14 +31188,14 @@ declare function SetMpGamerTagChatting(gamerTagId: number, _string: string): voi
30906
31188
  * Sets a gamer tag's component colour
30907
31189
  * @param gamerTagId a gamerTagId obtained using for example: [`CREATE_FAKE_MP_GAMER_TAG`](#\_0xBFEFE3321A3F5015).
30908
31190
  * @param component a component id, see the full list here: [link](https://docs.fivem.net/docs/game-references/gamer-tags/#components-list)
30909
- * @param hudColorIndex a hud color index, see the full list here: [link](https://pastebin.com/d9aHPbXN)
31191
+ * @param hudColorIndex a hud color index, see the full list here: [link](https://docs.fivem.net/docs/game-references/hud-colors/)
30910
31192
  */
30911
31193
  declare function SetMpGamerTagColour(gamerTagId: number, component: number, hudColorIndex: number): void;
30912
31194
  /**
30913
31195
  * Sets a gamer tag's component colour
30914
31196
  * @param gamerTagId a gamerTagId obtained using for example: [`CREATE_FAKE_MP_GAMER_TAG`](#\_0xBFEFE3321A3F5015).
30915
31197
  * @param component a component id, see the full list here: [link](https://docs.fivem.net/docs/game-references/gamer-tags/#components-list)
30916
- * @param hudColorIndex a hud color index, see the full list here: [link](https://pastebin.com/d9aHPbXN)
31198
+ * @param hudColorIndex a hud color index, see the full list here: [link](https://docs.fivem.net/docs/game-references/hud-colors/)
30917
31199
  */
30918
31200
  declare function N_0x613ed644950626ae(gamerTagId: number, component: number, hudColorIndex: number): void;
30919
31201
 
@@ -31299,8 +31581,38 @@ declare function SetObjectPhysicsParams(object: number, mass: number, gravityFac
31299
31581
  declare function SetObjectStuntPropDuration(object: number, duration: number): void;
31300
31582
  declare function N_0xdf6ca0330f2e737b(object: number, duration: number): void;
31301
31583
 
31302
- declare function SetObjectStuntPropSpeedup(object: number, p1: number): void;
31303
- declare function N_0x96ee0eba0163df80(object: number, p1: number): void;
31584
+ /**
31585
+ * Sets the intensity of Speed Boost and Slow Down props.
31586
+ * The corresponding values for Speed Boosts in the Creator are:\
31587
+ * Weak: `15`\
31588
+ * Normal: `25`\
31589
+ * Strong: `35`\
31590
+ * Extra Strong: `45`\
31591
+ * Ultra Strong: `100`
31592
+ * For Slow Downs:\
31593
+ * Weak: `44`\
31594
+ * Normal: `30`\
31595
+ * Strong: `16`
31596
+ * @param object A Speed Boost or Slow Down prop
31597
+ * @param intensity Ranges from `1`-`254`, other values are ignored. Higher values will increase the effect of Speed Boosts and decrease the effect of Slow Downs.
31598
+ */
31599
+ declare function SetObjectStuntPropSpeedup(object: number, intensity: number): void;
31600
+ /**
31601
+ * Sets the intensity of Speed Boost and Slow Down props.
31602
+ * The corresponding values for Speed Boosts in the Creator are:\
31603
+ * Weak: `15`\
31604
+ * Normal: `25`\
31605
+ * Strong: `35`\
31606
+ * Extra Strong: `45`\
31607
+ * Ultra Strong: `100`
31608
+ * For Slow Downs:\
31609
+ * Weak: `44`\
31610
+ * Normal: `30`\
31611
+ * Strong: `16`
31612
+ * @param object A Speed Boost or Slow Down prop
31613
+ * @param intensity Ranges from `1`-`254`, other values are ignored. Higher values will increase the effect of Speed Boosts and decrease the effect of Slow Downs.
31614
+ */
31615
+ declare function N_0x96ee0eba0163df80(object: number, intensity: number): void;
31304
31616
 
31305
31617
  declare function SetObjectTargettable(object: number, targettable: boolean): void;
31306
31618
 
@@ -32485,31 +32797,34 @@ declare function SetPedEnveffScale(ped: number, value: number): void;
32485
32797
  declare function SetPedEyeColor(ped: number, index: number): void;
32486
32798
 
32487
32799
  /**
32488
- * Sets the various freemode face features, e.g. nose length, chin shape. Scale ranges from -1.0 to 1.0.
32489
- * Index can be 0 - 19
32490
- * SET_PED_M*
32491
- * Here is the list of names. It starts at 0 and runs in sequence
32492
- * Face_Feature
32493
- * Nose_Width
32494
- * Nose_Peak_Hight
32495
- * Nose_Peak_Lenght
32496
- * Nose_Bone_High
32497
- * Nose_Peak_Lowering
32498
- * Nose_Bone_Twist
32499
- * EyeBrown_High
32500
- * EyeBrown_Forward
32501
- * Cheeks_Bone_High
32502
- * Cheeks_Bone_Width
32503
- * Cheeks_Width
32504
- * Eyes_Openning
32505
- * Lips_Thickness
32506
- * Jaw_Bone_Width: Bone size to sides
32507
- * Jaw_Bone_Back_Lenght: Bone size to back
32508
- * Chimp_Bone_Lowering: Go Down
32509
- * Chimp_Bone_Lenght: Go forward
32510
- * Chimp_Bone_Width
32511
- * Chimp_Hole
32512
- * Neck_Thikness
32800
+ * Sets the various freemode face features, e.g. nose length, chin shape.
32801
+ * **Indexes (From 0 to 19):**
32802
+ * Parentheses indicate morph scale/direction as in (-1.0 to 1.0)
32803
+ * * **0**: Nose Width (Thin/Wide)
32804
+ * * **1**: Nose Peak (Up/Down)
32805
+ * * **2**: Nose Length (Long/Short)
32806
+ * * **3**: Nose Bone Curveness (Crooked/Curved)
32807
+ * * **4**: Nose Tip (Up/Down)
32808
+ * * **5**: Nose Bone Twist (Left/Right)
32809
+ * * **6**: Eyebrow (Up/Down)
32810
+ * * **7**: Eyebrow (In/Out)
32811
+ * * **8**: Cheek Bones (Up/Down)
32812
+ * * **9**: Cheek Sideways Bone Size (In/Out)
32813
+ * * **10**: Cheek Bones Width (Puffed/Gaunt)
32814
+ * * **11**: Eye Opening (Both) (Wide/Squinted)
32815
+ * * **12**: Lip Thickness (Both) (Fat/Thin)
32816
+ * * **13**: Jaw Bone Width (Narrow/Wide)
32817
+ * * **14**: Jaw Bone Shape (Round/Square)
32818
+ * * **15**: Chin Bone (Up/Down)
32819
+ * * **16**: Chin Bone Length (In/Out or Backward/Forward)
32820
+ * * **17**: Chin Bone Shape (Pointed/Square)
32821
+ * * **18**: Chin Hole (Chin Bum)
32822
+ * * **19**: Neck Thickness (Thin/Thick)
32823
+ * **Note:**
32824
+ * You may need to call [`SetPedHeadBlendData`](#0x9414E18B9434C2FE) prior to calling this native in order for it to work.
32825
+ * @param ped The ped entity
32826
+ * @param index An integer ranging from 0 to 19
32827
+ * @param scale A float ranging from -1.0 to 1.0
32513
32828
  */
32514
32829
  declare function SetPedFaceFeature(ped: number, index: number, scale: number): void;
32515
32830
 
@@ -32598,20 +32913,30 @@ declare function SetPedHasAiBlipWithColor(ped: number, hasCone: boolean, color:
32598
32913
  declare function N_0xb13dcb4c6faad238(ped: number, hasCone: boolean, color: number): void;
32599
32914
 
32600
32915
  /**
32601
- * The "shape" parameters control the shape of the ped's face. The "skin" parameters control the skin tone. ShapeMix and skinMix control how much the first and second IDs contribute,(typically mother and father.) ThirdMix overrides the others in favor of the third IDs. IsParent is set for "children" of the player character's grandparents during old-gen character creation. It has unknown effect otherwise.
32602
- * The IDs start at zero and go Male Non-DLC, Female Non-DLC, Male DLC, and Female DLC.
32603
- * !!!Can someone add working example for this???
32604
- * try this:
32605
- * headBlendData headData;
32606
- * _GET_PED_HEAD_BLEND_DATA(PLAYER_PED_ID(), &headData);
32607
- * SET_PED_HEAD_BLEND_DATA(PLAYER_PED_ID(), headData.shapeFirst, headData.shapeSecond, headData.shapeThird, headData.skinFirst, headData.skinSecond
32608
- * , headData.skinThird, headData.shapeMix, headData.skinMix, headData.skinThird, 0);
32609
- * For more info please refer to this topic.
32610
- * gtaforums.com/topic/858970-all-gtao-face-ids-pedset-ped-head-blend-data-explained
32916
+ * For more info please refer to [this](https://gtaforums.com/topic/858970-all-gtao-face-ids-pedset-ped-head-blend-data-explained) topic.
32917
+ * **Other information:**
32918
+ * IDs start at zero and go Male Non-DLC, Female Non-DLC, Male DLC, and Female DLC.</br>
32919
+ * This native function is often called prior to calling natives such as:
32920
+ * * [`SetPedHairColor`](#0xBB43F090)
32921
+ * * [`SetPedHeadOverlayColor`](#0x78935A27)
32922
+ * * [`SetPedHeadOverlay`](#0xD28DBA90)
32923
+ * * [`SetPedFaceFeature`](#0x6C8D4458)
32924
+ * @param ped The ped entity
32925
+ * @param shapeFirstID Controls the shape of the first ped's face
32926
+ * @param shapeSecondID Controls the shape of the second ped's face
32927
+ * @param shapeThirdID Controls the shape of the third ped's face
32928
+ * @param skinFirstID Controls the first id's skin tone
32929
+ * @param skinSecondID Controls the second id's skin tone
32930
+ * @param skinThirdID Controls the third id's skin tone
32931
+ * @param shapeMix 0.0 - 1.0 Of whose characteristics to take Mother -> Father (shapeFirstID and shapeSecondID)
32932
+ * @param skinMix 0.0 - 1.0 Of whose characteristics to take Mother -> Father (skinFirstID and skinSecondID)
32933
+ * @param thirdMix Overrides the others in favor of the third IDs.
32934
+ * @param isParent IsParent is set for "children" of the player character's grandparents during old-gen character creation. It has unknown effect otherwise.
32611
32935
  */
32612
32936
  declare function SetPedHeadBlendData(ped: number, shapeFirstID: number, shapeSecondID: number, shapeThirdID: number, skinFirstID: number, skinSecondID: number, skinThirdID: number, shapeMix: number, skinMix: number, thirdMix: number, isParent: boolean): void;
32613
32937
 
32614
32938
  /**
32939
+ * ```
32615
32940
  * OverlayID ranges from 0 to 12, index from 0 to _GET_NUM_OVERLAY_VALUES(overlayID)-1, and opacity from 0.0 to 1.0.
32616
32941
  * overlayID Part Index, to disable
32617
32942
  * 0 Blemishes 0 - 23, 255
@@ -32627,13 +32952,28 @@ declare function SetPedHeadBlendData(ped: number, shapeFirstID: number, shapeSec
32627
32952
  * 10 Chest Hair 0 - 16, 255
32628
32953
  * 11 Body Blemishes 0 - 11, 255
32629
32954
  * 12 Add Body Blemishes 0 - 1, 255
32955
+ * ```
32956
+ * **Note:**
32957
+ * You may need to call [`SetPedHeadBlendData`](#0x9414E18B9434C2FE) prior to calling this native in order for it to work.
32958
+ * @param ped The ped entity
32959
+ * @param overlayID The overlay id displayed up above.
32960
+ * @param index An integer representing the index (from 0 to `_GET_NUM_OVERLAY_VALUES(overlayID)-1`)
32961
+ * @param opacity A float ranging from 0.0 to 1.0
32630
32962
  */
32631
32963
  declare function SetPedHeadOverlay(ped: number, overlayID: number, index: number, opacity: number): void;
32632
32964
 
32633
32965
  /**
32966
+ * ```
32634
32967
  * Used for freemode (online) characters.
32635
- * ColorType is 1 for eyebrows, beards, and chest hair; 2 for blush and lipstick; and 0 otherwise, though not called in those cases.
32636
32968
  * Called after SET_PED_HEAD_OVERLAY().
32969
+ * ```
32970
+ * **Note:**
32971
+ * You may need to call [`SetPedHeadBlendData`](#0x9414E18B9434C2FE) prior to calling this native in order for it to work.
32972
+ * @param ped The ped entity
32973
+ * @param overlayID An integer representing the overlay id
32974
+ * @param colorType 1 for eyebrows, beards, and chest hair; 2 for blush and lipstick; and 0 otherwise, though not called in those cases.
32975
+ * @param colorID An integer representing the primary color id
32976
+ * @param secondColorID An integer representing the secondary color id
32637
32977
  */
32638
32978
  declare function SetPedHeadOverlayColor(ped: number, overlayID: number, colorType: number, colorID: number, secondColorID: number): void;
32639
32979
 
@@ -33253,6 +33593,9 @@ declare function N_0x2a86a0475b6a1434(vehicle: number, health: number): void;
33253
33593
  declare function SetPlanePropellersHealth(plane: number, health: number): void;
33254
33594
  declare function N_0x4c815eb175086f84(plane: number, health: number): void;
33255
33595
 
33596
+ declare function SetPlaneResistToExplosion(vehicle: number, toggle: boolean): void;
33597
+ declare function N_0xe16142b94664defd(vehicle: number, toggle: boolean): void;
33598
+
33256
33599
  /**
33257
33600
  * This native sets the turbulence multiplier. It only works for planes.
33258
33601
  * 0.0 = no turbulence at all.
@@ -33322,15 +33665,6 @@ declare function SetPlayerCanLeaveParachuteSmokeTrail(player: number, enabled: b
33322
33665
  */
33323
33666
  declare function SetPlayerCanUseCover(player: number, toggle: boolean): void;
33324
33667
 
33325
- /**
33326
- * Displays cash change notifications on HUD.
33327
- */
33328
- declare function SetPlayerCashChange(cash: number, bank: number): void;
33329
- /**
33330
- * Displays cash change notifications on HUD.
33331
- */
33332
- declare function SetSingleplayerHudCash(cash: number, bank: number): void;
33333
-
33334
33668
  /**
33335
33669
  * 6 matches across 4 scripts. 5 occurrences were 240. The other was 255.
33336
33670
  */
@@ -33695,6 +34029,15 @@ declare function SetPlayerpadShakesWhenControllerDisabled(toggle: boolean): void
33695
34029
 
33696
34030
  declare function SetPlayersLastVehicle(vehicle: number): void;
33697
34031
 
34032
+ /**
34033
+ * Sets flag on vehicle that changes behaviour in relation to when player gets wanted level
34034
+ */
34035
+ declare function SetPoliceFocusWillTrackVehicle(vehicle: number, p1: boolean): void;
34036
+ /**
34037
+ * Sets flag on vehicle that changes behaviour in relation to when player gets wanted level
34038
+ */
34039
+ declare function N_0x4e74e62e0a97e901(vehicle: number, p1: boolean): void;
34040
+
33698
34041
  /**
33699
34042
  * The player will be ignored by the police if toggle is set to true
33700
34043
  */
@@ -33973,11 +34316,13 @@ declare function SetCustomRespawnPosition(x: number, y: number, z: number, headi
33973
34316
  declare function SetRichPresence(presenceState: string): void;
33974
34317
 
33975
34318
  /**
33976
- * Activates (usused?) riot mode. All NPCs are being hostile to each other (including player). Also the game will give weapons (pistols, smgs) to random NPCs.
34319
+ * Activates riot mode. All NPCs are being hostile to each other (including player). Also the game will give weapons (pistols, smgs) to random NPCs.
34320
+ * @param toggle Turn on or off riot mode. Set to `true` to enable riot mode.
33977
34321
  */
33978
34322
  declare function SetRiotModeEnabled(toggle: boolean): void;
33979
34323
  /**
33980
- * Activates (usused?) riot mode. All NPCs are being hostile to each other (including player). Also the game will give weapons (pistols, smgs) to random NPCs.
34324
+ * Activates riot mode. All NPCs are being hostile to each other (including player). Also the game will give weapons (pistols, smgs) to random NPCs.
34325
+ * @param toggle Turn on or off riot mode. Set to `true` to enable riot mode.
33981
34326
  */
33982
34327
  declare function N_0x2587a48bc88dfadf(toggle: boolean): void;
33983
34328
 
@@ -41058,12 +41403,6 @@ declare function UpdatePlayerTeleport(player: number): boolean;
41058
41403
  declare function N_0xe23d5873c2394c61(player: number): boolean;
41059
41404
  declare function HasPlayerTeleportFinished(player: number): boolean;
41060
41405
 
41061
- declare function UpdateStatFloat(statHash: string | number, value: number, p2: number): void;
41062
- declare function N_0x30a6614c1f7799b8(statHash: string | number, value: number, p2: number): void;
41063
-
41064
- declare function UpdateStatInt(statHash: string | number, value: number, p2: number): void;
41065
- declare function N_0x11ff1c80276097ed(statHash: string | number, value: number, p2: number): void;
41066
-
41067
41406
  declare function UpdateTaskAimGunScriptedTarget(p0: number, p1: number, p2: number, p3: number, p4: number, p5: boolean): void;
41068
41407
 
41069
41408
  declare function UpdateTaskHandsUpDuration(ped: number, duration: number): void;
@@ -41072,6 +41411,17 @@ declare function UpdateTaskSweepAimEntity(ped: number, entity: number): void;
41072
41411
 
41073
41412
  declare function UpdateTaskSweepAimPosition(p0: number, p1: number, p2: number, p3: number): void;
41074
41413
 
41414
+ /**
41415
+ * Related to displaying cash on the HUD
41416
+ * Always called before HUD::CHANGE_FAKE_MP_CASH in decompiled scripts
41417
+ */
41418
+ declare function UseFakeMpCash(p0: boolean): void;
41419
+ /**
41420
+ * Related to displaying cash on the HUD
41421
+ * Always called before HUD::CHANGE_FAKE_MP_CASH in decompiled scripts
41422
+ */
41423
+ declare function N_0x170f541e1cadd1de(p0: boolean): void;
41424
+
41075
41425
  /**
41076
41426
  * From the b678d decompiled scripts:
41077
41427
  * GRAPHICS::_SET_PTFX_ASSET_NEXT_CALL("FM_Mission_Controler");