SetPedMeleeCombatLimits
DocsSetPedMeleeCombatLimits(primaryCount, secondaryCount, populationPedCount)Description
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) |
Ped Models

mp_m_freemode_01
player_zero
ig_agatha
s_m_y_cop_01
s_m_m_gaffer_01
g_m_m_armboss_01
a_c_boar
a_m_m_bevhills_01Returns
voidThis native does not return a value.