RedM Natives

COMBAT ACTION DISABLE FLAGS

Combat Action Disable Flags

Combat Action Disable Flags disable actions from this ped or against this ped.

Example

Citizen.InvokeNative(0xB8DE69D9473B7593,PlayerPedId(),6)  -- _DISABLE_COMBAT_ACTION_AGAINST_OTHERS - this ped cant choke other peds now.
Citizen.InvokeNative(0xB346C85D49CC998E,PlayerPedId(),1)  -- _IS_COMBAT_ACTION_AGAINST_OTHERS_DISABLED - check if this ped can grapple other peds.
Citizen.InvokeNative(0x949B2F9ED2917F5D,PlayerPedId(),4)  -- _ENABLE_COMBAT_ACTION_AGAINST_OTHERS - allow this ped kicking other peds.

Citizen.InvokeNative(0xC163DAC52AC975D3,NPC_ped_id,6)  -- _DISABLE_COMBAT_ACTION_AGAINST_THIS_PED - this ped cant be choked by other peds now.
Citizen.InvokeNative(0x02AA2096FE00F3E1,NPC_ped_id,1)  -- _IS_COMBAT_ACTION_AGAINST_THIS_PED_DISABLED - check if this ped can be grappled by other peds.
<h2>Combat Action Disable Flags</h2>
35 rows
#flagidaction_disable_flag_resultNote
10ADF_MELEE
21ADF_GRAPPLE
32ADF_ATTACK
43ADF_KNOCKOUT
54ADF_KICK
65ADF_SHOVE
76ADF_CHOKE
87ADF_BLOCKING
98ADF_COUNTER
109ADF_TAUNT
1110ADF_DODGE
1211ADF_PARRY
1312ADF_LEAD_IN
1413ADF_DISARM
1514ADF_FAILED_TAKEDOWN
1615ADF_TAKEDOWN
1716ADF_EXECUTION
1817ADF_STEALTH_KILL
1918ADF_ENVIRONMENTAL_FLOURISH
2019ADF_RECOIL
2120ADF_STRUGGLE
2221ADF_ESCAPE
2322ADF_REVERSAL
2423ADF_BREAKOUT
2524ADF_RELEASE
2625ADF_CHALLENGE
2726ADF_ARM_GRAB
2827ADF_LEG_GRAB
2928ADF_KNOCKDOWN
3029ADF_DEAD_TARGETS
3130ADF_DEFENSIVE_AREA_AUTO_GRAPPLE
3231ADF_GRAPPLE_TRANSITION
3332ADF_AUTO_SHOVE
3433ADF_TACKLE
3534ADF_PAIRED_TURN_ATTACK