@citizenfx/client 2.0.6471-1 → 2.0.6472-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.
@@ -5960,6 +5960,12 @@ declare function DisableVehicleNeonLights(vehicle: number, toggle: boolean): voi
5960
5960
  */
5961
5961
  declare function N_0x83f813570ff519de(vehicle: number, toggle: boolean): void;
5962
5962
 
5963
+ /**
5964
+ * Disables the game's afk camera that starts panning around after 30 seconds of inactivity(While riding in a car as a passenger)
5965
+ * @param state On/Off
5966
+ */
5967
+ declare function DisableVehiclePassengerIdleCamera(state: boolean): void;
5968
+
5963
5969
  /**
5964
5970
  * _DISABLE_VEHICLE_TURRET_MOVEMENT_THIS_FRAME
5965
5971
  */
@@ -13924,24 +13930,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
13924
13930
  declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
13925
13931
 
13926
13932
  /**
13927
- * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
13933
+ * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
13928
13934
  * @param ped The target ped
13929
13935
  * @return Returns ped's eye colour, or -1 if fails to get.
13930
13936
  */
13931
13937
  declare function GetPedEyeColor(ped: number): number;
13938
+
13932
13939
  /**
13933
13940
  * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
13934
13941
  * @param ped The target ped
13935
13942
  * @return Returns ped's eye colour, or -1 if fails to get.
13936
13943
  */
13937
- declare function N_0x76bba2cee66d47e9(ped: number): number;
13938
-
13944
+ declare function GetPedEyeColor(ped: number): number;
13939
13945
  /**
13940
- * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
13946
+ * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
13941
13947
  * @param ped The target ped
13942
13948
  * @return Returns ped's eye colour, or -1 if fails to get.
13943
13949
  */
13944
- declare function GetPedEyeColor(ped: number): number;
13950
+ declare function N_0x76bba2cee66d47e9(ped: number): number;
13945
13951
 
13946
13952
  /**
13947
13953
  * A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
@@ -14292,6 +14298,13 @@ declare function GetPedKiller(ped: number): number;
14292
14298
  */
14293
14299
  declare function GetPedStealthMovement(ped: number): boolean;
14294
14300
 
14301
+ /**
14302
+ * A getter for [SET_PED_SWEAT](#\_0x27B0405F59637D1F).
14303
+ * @param ped The target ped
14304
+ * @return Returns ped's sweat.
14305
+ */
14306
+ declare function GetPedSweat(ped: number): number;
14307
+
14295
14308
  /**
14296
14309
  * NativeDB Introduced: v2372
14297
14310
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.6471-1",
3
+ "version": "2.0.6472-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {