@citizenfx/client 2.0.8138-1 → 2.0.8151-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.
@@ -49073,6 +49073,15 @@ declare function SetPedMaxTimeInWater(ped: number, value: number): void;
49073
49073
  */
49074
49074
  declare function SetPedMaxTimeUnderwater(ped: number, value: number): void;
49075
49075
 
49076
+ /**
49077
+ * Override the limits on the number and types of melee combatants. The game is limited to at most ten combatants among the three types: primary, secondary, and observers.
49078
+ * This native infers the number of observers based on the primary and secondary counts.
49079
+ * @param primaryCount The number of peds that engage in combat (default: 1)
49080
+ * @param secondaryCount The number of peds that engage in taunting (default: 3)
49081
+ * @param populationPedCount The maximum number of population peds (ambient and scenario) that can engage in combat (default: 3)
49082
+ */
49083
+ declare function SetPedMeleeCombatLimits(primaryCount: number, secondaryCount: number, populationPedCount: number): void;
49084
+
49076
49085
  /**
49077
49086
  * Ped will stay on the ground after being stunned for at lest ms time. (in milliseconds)
49078
49087
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.8138-1",
3
+ "version": "2.0.8151-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {