@citizenfx/client 2.0.4512-1 → 2.0.4536-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.
@@ -19923,11 +19923,6 @@ declare function N_0xe791df1f73ed2c8b(p0: number): number;
19923
19923
 
19924
19924
  declare function N_0xe851e480b814d4ba(vehicle: number, p1: boolean): void;
19925
19925
 
19926
- /**
19927
- * SET_PED_CAN_*
19928
- */
19929
- declare function N_0xe861d0b05c7662b8(ped: number, p1: boolean, p2: number): void;
19930
-
19931
19926
  /**
19932
19927
  * GET_H*
19933
19928
  * NativeDB Introduced: v1604
@@ -30556,6 +30551,23 @@ declare function SetPedCanHeadIk(ped: number, toggle: boolean): void;
30556
30551
 
30557
30552
  declare function SetPedCanLegIk(ped: number, toggle: boolean): void;
30558
30553
 
30554
+ /**
30555
+ * It makes the ped lose (or not lose) their props (like glasses or helmets/hat) when someone punches or pushes the ped.
30556
+ * This is probably what's being used in GTA:O to keep players from knocking other player's hats/glasses off when in combat.
30557
+ * @param ped The target ped
30558
+ * @param loseProps true = allow props to fall off, false = don't let props fall off
30559
+ * @param p2 purpose unknown, usually 0
30560
+ */
30561
+ declare function SetPedCanLosePropsOnDamage(ped: number, loseProps: boolean, p2: number): void;
30562
+ /**
30563
+ * It makes the ped lose (or not lose) their props (like glasses or helmets/hat) when someone punches or pushes the ped.
30564
+ * This is probably what's being used in GTA:O to keep players from knocking other player's hats/glasses off when in combat.
30565
+ * @param ped The target ped
30566
+ * @param loseProps true = allow props to fall off, false = don't let props fall off
30567
+ * @param p2 purpose unknown, usually 0
30568
+ */
30569
+ declare function N_0xe861d0b05c7662b8(ped: number, loseProps: boolean, p2: number): void;
30570
+
30559
30571
  declare function SetPedCanPeekInCover(ped: number, toggle: boolean): void;
30560
30572
 
30561
30573
  declare function SetPedCanPlayAmbientAnims(ped: number, toggle: boolean): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.4512-1",
3
+ "version": "2.0.4536-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {