@citizenfx/client 2.0.5177-1 → 2.0.5181-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.
@@ -9762,24 +9762,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
9762
9762
  declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
9763
9763
 
9764
9764
  /**
9765
- * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
9765
+ * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
9766
9766
  * @param ped The target ped
9767
9767
  * @return Returns ped's eye colour, or -1 if fails to get.
9768
9768
  */
9769
9769
  declare function GetPedEyeColor(ped: number): number;
9770
-
9771
9770
  /**
9772
9771
  * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
9773
9772
  * @param ped The target ped
9774
9773
  * @return Returns ped's eye colour, or -1 if fails to get.
9775
9774
  */
9776
- declare function GetPedEyeColor(ped: number): number;
9775
+ declare function N_0x76bba2cee66d47e9(ped: number): number;
9776
+
9777
9777
  /**
9778
- * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
9778
+ * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
9779
9779
  * @param ped The target ped
9780
9780
  * @return Returns ped's eye colour, or -1 if fails to get.
9781
9781
  */
9782
- declare function N_0x76bba2cee66d47e9(ped: number): number;
9782
+ declare function GetPedEyeColor(ped: number): number;
9783
9783
 
9784
9784
  /**
9785
9785
  * A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
@@ -13987,6 +13987,13 @@ declare function IsEntityOnScreen(entity: number): boolean;
13987
13987
  */
13988
13988
  declare function IsEntityPlayingAnim(entity: number, animDict: string, animName: string, taskFlag: number): boolean;
13989
13989
 
13990
+ /**
13991
+ * A getter for [FREEZE_ENTITY_POSITION](#\_0x428CA6DBD1094446).
13992
+ * @param entity The entity to check for
13993
+ * @return Boolean stating if it is frozen or not.
13994
+ */
13995
+ declare function IsEntityPositionFrozen(entity: number): boolean;
13996
+
13990
13997
  /**
13991
13998
  * A static ped will not react to natives like "APPLY_FORCE_TO_ENTITY" or "SET_ENTITY_VELOCITY" and oftentimes will not react to task-natives like "AI::TASK_COMBAT_PED". The only way I know of to make one of these peds react is to ragdoll them (or sometimes to use CLEAR_PED_TASKS_IMMEDIATELY(). Static peds include almost all far-away peds, beach-combers, peds in certain scenarios, peds crossing a crosswalk, peds walking to get back into their cars, and others. If anyone knows how to make a ped non-static without ragdolling them, please edit this with the solution.
13992
13999
  * ^ Attach a phCollider to the ped.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.5177-1",
3
+ "version": "2.0.5181-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {