@citizenfx/client 2.0.5187-1 → 2.0.5212-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).
9765
+ * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
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
+
9770
9771
  /**
9771
9772
  * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
9772
9773
  * @param ped The target ped
9773
9774
  * @return Returns ped's eye colour, or -1 if fails to get.
9774
9775
  */
9775
- declare function N_0x76bba2cee66d47e9(ped: number): number;
9776
-
9776
+ declare function GetPedEyeColor(ped: number): number;
9777
9777
  /**
9778
- * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
9778
+ * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
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 GetPedEyeColor(ped: number): number;
9782
+ declare function N_0x76bba2cee66d47e9(ped: number): number;
9783
9783
 
9784
9784
  /**
9785
9785
  * A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
@@ -12544,6 +12544,13 @@ declare function GetBlipInfoIdIterator(): number;
12544
12544
 
12545
12545
  declare function GetWaypointDistanceAlongRoute(p0: string, p1: number): number;
12546
12546
 
12547
+ /**
12548
+ * A getter for [SET_WEAPON_ANIMATION_OVERRIDE](\_0x1055AC3A667F09D9).
12549
+ * @param ped The target ped.
12550
+ * @return The weapon animation override.
12551
+ */
12552
+ declare function GetWeaponAnimationOverride(ped: number): number;
12553
+
12547
12554
  /**
12548
12555
  * // Returns the size of the default weapon component clip.
12549
12556
  * Use it like this:
@@ -17990,8 +17997,6 @@ declare function N_0x6bff5f84102df80a(player: number): void;
17990
17997
 
17991
17998
  declare function N_0x6cd79468a1e595c6(padIndex: number): boolean;
17992
17999
 
17993
- declare function N_0x6cdd58146a436083(p0: number): void;
17994
-
17995
18000
  declare function N_0x6ce50e47f5543d0c(): void;
17996
18001
 
17997
18002
  /**
@@ -33985,6 +33990,27 @@ declare function SetUseHigherVehicleJumpForce(vehicle: number, toggle: boolean):
33985
33990
  */
33986
33991
  declare function N_0xf06a16ca55d138d8(vehicle: number, toggle: boolean): void;
33987
33992
 
33993
+ /**
33994
+ * Sets a global mode which makes the pause menu map show 'Destination' instead of 'Waypoint' in the key legend on the
33995
+ * bottom of the screen.
33996
+ * <!--
33997
+ * Name guess:
33998
+ * - alphabetical function order, below [SET_USER_RADIO_CONTROL_ENABLED, SET_USE_HI_DOF], above SET_VARIABLE_ON_SOUND.
33999
+ * -->
34000
+ * @param toggle `true` to show 'Destination', `false` to show 'Waypoint' (the default)
34001
+ */
34002
+ declare function SetUseWaypointAsDestination(toggle: boolean): void;
34003
+ /**
34004
+ * Sets a global mode which makes the pause menu map show 'Destination' instead of 'Waypoint' in the key legend on the
34005
+ * bottom of the screen.
34006
+ * <!--
34007
+ * Name guess:
34008
+ * - alphabetical function order, below [SET_USER_RADIO_CONTROL_ENABLED, SET_USE_HI_DOF], above SET_VARIABLE_ON_SOUND.
34009
+ * -->
34010
+ * @param toggle `true` to show 'Destination', `false` to show 'Waypoint' (the default)
34011
+ */
34012
+ declare function N_0x6cdd58146a436083(toggle: boolean): void;
34013
+
33988
34014
  declare function SetUserRadioControlEnabled(toggle: boolean): void;
33989
34015
 
33990
34016
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.5187-1",
3
+ "version": "2.0.5212-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {