SetPedMeleeCombatLimits — FiveM Natives
0x8E51EC29 · CFX · client
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. This native infers the number of observers based on the primary and secondary counts.
Parameters
| Name | Type | Description |
|---|---|---|
| primaryCount | int | The number of peds that engage in combat (default: 1) |
| secondaryCount | int | The number of peds that engage in taunting (default: 3) |
| populationPedCount | int | The maximum number of population peds (ambient and scenario) that can engage in combat (default: 3) |
Returns
void