@citizenfx/client 2.0.7630-1 → 2.0.7654-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.
@@ -25501,11 +25501,6 @@ declare function N_0x26d7399b9587fe89(p0: number): void;
25501
25501
  */
25502
25502
  declare function N_0x26d99d5a82fd18e8(p0: number): void;
25503
25503
 
25504
- /**
25505
- * NativeDB Introduced: v1290
25506
- */
25507
- declare function N_0x26e13d440e7f6064(vehicle: number, value: number): void;
25508
-
25509
25504
  /**
25510
25505
  * 0x26F07DD83A5F7F98
25511
25506
  */
@@ -30064,11 +30059,6 @@ declare function N_0xed5fd7af10f5e262(p0: number, p1: number, p2: number, p3: nu
30064
30059
  */
30065
30060
  declare function N_0xed76d195e6e3bf7f(p0: number, p1: number, p2: number, p3: number): void;
30066
30061
 
30067
- /**
30068
- * 0xEDBC8405B3895CC9
30069
- */
30070
- declare function N_0xedbc8405b3895cc9(p0: number, p1: number): void;
30071
-
30072
30062
  /**
30073
30063
  * 0xEDBF6C9B0D2C65C8
30074
30064
  */
@@ -39297,6 +39287,7 @@ declare function RemoveAnimSet(animSet: string): void;
39297
39287
 
39298
39288
  /**
39299
39289
  * Removes the blip from your map.
39290
+ * **Note:** This function only works on the script that created the blip, if you wish to remove blips created by other scripts, see [`SET_THIS_SCRIPT_CAN_REMOVE_BLIPS_CREATED_BY_ANY_SCRIPT`](#\_0x86A652570E5F25DD).
39300
39291
  * @param blip Blip handle to remove.
39301
39292
  */
39302
39293
  declare function RemoveBlip(blip: number): void;
@@ -43646,11 +43637,51 @@ declare function SetDisableDecalRenderingThisFrame(): void;
43646
43637
  */
43647
43638
  declare function N_0x4b5cfc83122df602(): void;
43648
43639
 
43640
+ /**
43641
+ * Prevents a vehicle from exploding upon sustaining body damage from physical collisions. This can be used to increase the durability of vehicles in high-impact scenarios, such as races or combat situations, by preventing them from being destroyed due to collision-induced body damage.
43642
+ * For helicopters, you might want to check [`SET_DISABLE_HELI_EXPLODE_FROM_BODY_DAMAGE`](#\_0xEDBC8405B3895CC9) instead.
43643
+ * ```
43644
+ * NativeDB Introduced: v1290
43645
+ * ```
43646
+ * @param vehicle The vehicle to apply this setting to.
43647
+ * @param disableExplode `true` to disable explosion from body damage on collision; `false` to allow explosions as normal.
43648
+ */
43649
+ declare function SetDisableExplodeFromBodyDamageOnCollision(vehicle: number, disableExplode: boolean): void;
43650
+ /**
43651
+ * Prevents a vehicle from exploding upon sustaining body damage from physical collisions. This can be used to increase the durability of vehicles in high-impact scenarios, such as races or combat situations, by preventing them from being destroyed due to collision-induced body damage.
43652
+ * For helicopters, you might want to check [`SET_DISABLE_HELI_EXPLODE_FROM_BODY_DAMAGE`](#\_0xEDBC8405B3895CC9) instead.
43653
+ * ```
43654
+ * NativeDB Introduced: v1290
43655
+ * ```
43656
+ * @param vehicle The vehicle to apply this setting to.
43657
+ * @param disableExplode `true` to disable explosion from body damage on collision; `false` to allow explosions as normal.
43658
+ */
43659
+ declare function N_0x26e13d440e7f6064(vehicle: number, disableExplode: boolean): void;
43660
+
43649
43661
  /**
43650
43662
  * SET_DISABLE_FRAG_DAMAGE
43651
43663
  */
43652
43664
  declare function SetDisableFragDamage(object: number, toggle: boolean): void;
43653
43665
 
43666
+ /**
43667
+ * Prevents a helicopter from exploding due to relatively minor body damage. This native can be particularly useful in gameplay scenarios or missions where helicopters are subject to damage that would not realistically cause an explosion, ensuring they remain operational unless subjected to more significant damage.
43668
+ * ```
43669
+ * NativeDB Introduced: v1103
43670
+ * ```
43671
+ * @param helicopter The helicopter to apply this setting to.
43672
+ * @param disableExplode `true` to disable explosion from body damage on collision; `false` to allow explosions as normal.
43673
+ */
43674
+ declare function SetDisableHeliExplodeFromBodyDamage(helicopter: number, disableExplode: boolean): void;
43675
+ /**
43676
+ * Prevents a helicopter from exploding due to relatively minor body damage. This native can be particularly useful in gameplay scenarios or missions where helicopters are subject to damage that would not realistically cause an explosion, ensuring they remain operational unless subjected to more significant damage.
43677
+ * ```
43678
+ * NativeDB Introduced: v1103
43679
+ * ```
43680
+ * @param helicopter The helicopter to apply this setting to.
43681
+ * @param disableExplode `true` to disable explosion from body damage on collision; `false` to allow explosions as normal.
43682
+ */
43683
+ declare function N_0xedbc8405b3895cc9(helicopter: number, disableExplode: boolean): void;
43684
+
43654
43685
  /**
43655
43686
  * Disables wings for `Deluxo` and `Oppressor MK II`. For the Deluxo, it retracts the wings immediately, preventing flight. For the Oppressor Mk II, the wings retract after landing and take-off is not possible, though it can still glide if launched into the air.
43656
43687
  * @param vehicle The vehicle to which the toggle will be applied.
@@ -51393,7 +51424,8 @@ declare function SetThirdPersonAimCamNearClip(distance: number): void;
51393
51424
  declare function SetThisScriptCanBePaused(toggle: boolean): void;
51394
51425
 
51395
51426
  /**
51396
- * SET_THIS_SCRIPT_CAN_REMOVE_BLIPS_CREATED_BY_ANY_SCRIPT
51427
+ * Normally, blips can only be removed by the script or resource that created them. However, this native function allows a script to bypass this logic and remove blips from any script.
51428
+ * @param toggle Bool indicating if the script that called this native can remove blips created by other scripts.
51397
51429
  */
51398
51430
  declare function SetThisScriptCanRemoveBlipsCreatedByAnyScript(toggle: boolean): void;
51399
51431
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.7630-1",
3
+ "version": "2.0.7654-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {