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.| # | flagid | action_disable_flag_result | Note |
|---|---|---|---|
| 1 | 0 | ADF_MELEE | |
| 2 | 1 | ADF_GRAPPLE | |
| 3 | 2 | ADF_ATTACK | |
| 4 | 3 | ADF_KNOCKOUT | |
| 5 | 4 | ADF_KICK | |
| 6 | 5 | ADF_SHOVE | |
| 7 | 6 | ADF_CHOKE | |
| 8 | 7 | ADF_BLOCKING | |
| 9 | 8 | ADF_COUNTER | |
| 10 | 9 | ADF_TAUNT | |
| 11 | 10 | ADF_DODGE | |
| 12 | 11 | ADF_PARRY | |
| 13 | 12 | ADF_LEAD_IN | |
| 14 | 13 | ADF_DISARM | |
| 15 | 14 | ADF_FAILED_TAKEDOWN | |
| 16 | 15 | ADF_TAKEDOWN | |
| 17 | 16 | ADF_EXECUTION | |
| 18 | 17 | ADF_STEALTH_KILL | |
| 19 | 18 | ADF_ENVIRONMENTAL_FLOURISH | |
| 20 | 19 | ADF_RECOIL | |
| 21 | 20 | ADF_STRUGGLE | |
| 22 | 21 | ADF_ESCAPE | |
| 23 | 22 | ADF_REVERSAL | |
| 24 | 23 | ADF_BREAKOUT | |
| 25 | 24 | ADF_RELEASE | |
| 26 | 25 | ADF_CHALLENGE | |
| 27 | 26 | ADF_ARM_GRAB | |
| 28 | 27 | ADF_LEG_GRAB | |
| 29 | 28 | ADF_KNOCKDOWN | |
| 30 | 29 | ADF_DEAD_TARGETS | |
| 31 | 30 | ADF_DEFENSIVE_AREA_AUTO_GRAPPLE | |
| 32 | 31 | ADF_GRAPPLE_TRANSITION | |
| 33 | 32 | ADF_AUTO_SHOVE | |
| 34 | 33 | ADF_TACKLE | |
| 35 | 34 | ADF_PAIRED_TURN_ATTACK |