@citizenfx/client 2.0.10072-1 → 2.0.10191-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.
@@ -11868,6 +11868,7 @@ declare function GetGameName(): string;
11868
11868
  * ### Supported pools
11869
11869
  * * `CPed`: Peds (including animals) and players.
11870
11870
  * * `CObject`: Objects (props), doors, and projectiles.
11871
+ * * `CNetObject`: Networked objects
11871
11872
  * * `CVehicle`: Vehicles.
11872
11873
  * * `CPickup`: Pickups.
11873
11874
  * @param poolName The pool name to get a list of entities from.
@@ -11943,6 +11944,12 @@ declare function GetGlobalCharBuffer(): string;
11943
11944
  */
11944
11945
  declare function N_0x24da7d7667fd7b09(): string;
11945
11946
 
11947
+ /**
11948
+ * A getter for [SET_GLOBAL_PASSENGER_MASS_MULTIPLIER](#\_0x1c47f6ac).
11949
+ * @return Returns the mass of each passenger (not counting the driver) as a percentage of vehicle mass. Default value is 0.05
11950
+ */
11951
+ declare function GetGlobalPassengerMassMultiplier(): number;
11952
+
11946
11953
  /**
11947
11954
  * NativeDB Introduced: v2189
11948
11955
  */
@@ -14902,24 +14909,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
14902
14909
  declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
14903
14910
 
14904
14911
  /**
14905
- * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
14912
+ * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
14906
14913
  * @param ped The target ped
14907
14914
  * @return Returns ped's eye colour, or -1 if fails to get.
14908
14915
  */
14909
14916
  declare function GetPedEyeColor(ped: number): number;
14917
+
14910
14918
  /**
14911
14919
  * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
14912
14920
  * @param ped The target ped
14913
14921
  * @return Returns ped's eye colour, or -1 if fails to get.
14914
14922
  */
14915
- declare function N_0x76bba2cee66d47e9(ped: number): number;
14916
-
14923
+ declare function GetPedEyeColor(ped: number): number;
14917
14924
  /**
14918
- * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
14925
+ * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
14919
14926
  * @param ped The target ped
14920
14927
  * @return Returns ped's eye colour, or -1 if fails to get.
14921
14928
  */
14922
- declare function GetPedEyeColor(ped: number): number;
14929
+ declare function N_0x76bba2cee66d47e9(ped: number): number;
14923
14930
 
14924
14931
  /**
14925
14932
  * A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
@@ -45725,6 +45732,12 @@ declare function N_0x658500ae6d723a7e(alpha: number): void;
45725
45732
  */
45726
45733
  declare function SetGlobalMinBirdFlightHeight(height: number): void;
45727
45734
 
45735
+ /**
45736
+ * SET_GLOBAL_PASSENGER_MASS_MULTIPLIER
45737
+ * @param massMul Weight of each passenger (not counting the driver) as a percentage of vehicle mass. Is applied to all vehicles. Default value is 0.05
45738
+ */
45739
+ declare function SetGlobalPassengerMassMultiplier(massMul: number): void;
45740
+
45728
45741
  /**
45729
45742
  * SET_GPS_ACTIVE
45730
45743
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.10072-1",
3
+ "version": "2.0.10191-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {