@citizenfx/client 2.0.6348-1 → 2.0.6349-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.
@@ -2509,6 +2509,17 @@ declare function BreakObjectFragmentChild(p0: number, p1: number, p2: boolean):
2509
2509
  */
2510
2510
  declare function N_0xe7e4c198b0185900(p0: number, p1: number, p2: boolean): void;
2511
2511
 
2512
+ /**
2513
+ * Break off vehicle wheel by index. The `leaveDebrisTrail` flag requires `putOnFire` to be true.
2514
+ * @param vehicle The vehicle handle.
2515
+ * @param wheelIndex The wheel index.
2516
+ * @param leaveDebrisTrail Start "veh_debris_trail" ptfx.
2517
+ * @param deleteWheel True to delete wheel, otherwise detach.
2518
+ * @param unknownFlag Unknown flag.
2519
+ * @param putOnFire Set wheel on fire once detached.
2520
+ */
2521
+ declare function BreakOffVehicleWheel(vehicle: number, wheelIndex: number, leaveDebrisTrail: boolean, deleteWheel: boolean, unknownFlag: boolean, putOnFire: boolean): void;
2522
+
2512
2523
  /**
2513
2524
  * This native makes the vehicle stop immediately, as happens when we enter a MP garage.
2514
2525
  * . distance defines how far it will travel until stopping. Garage doors use 3.0.
@@ -13870,24 +13881,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
13870
13881
  declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
13871
13882
 
13872
13883
  /**
13873
- * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
13884
+ * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
13874
13885
  * @param ped The target ped
13875
13886
  * @return Returns ped's eye colour, or -1 if fails to get.
13876
13887
  */
13877
13888
  declare function GetPedEyeColor(ped: number): number;
13878
-
13879
13889
  /**
13880
13890
  * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
13881
13891
  * @param ped The target ped
13882
13892
  * @return Returns ped's eye colour, or -1 if fails to get.
13883
13893
  */
13884
- declare function GetPedEyeColor(ped: number): number;
13894
+ declare function N_0x76bba2cee66d47e9(ped: number): number;
13895
+
13885
13896
  /**
13886
- * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
13897
+ * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
13887
13898
  * @param ped The target ped
13888
13899
  * @return Returns ped's eye colour, or -1 if fails to get.
13889
13900
  */
13890
- declare function N_0x76bba2cee66d47e9(ped: number): number;
13901
+ declare function GetPedEyeColor(ped: number): number;
13891
13902
 
13892
13903
  /**
13893
13904
  * A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.6348-1",
3
+ "version": "2.0.6349-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {