The Lab
PED native

_SET_PED_INCAPACITATION_MODIFIERS

returns void5 paramsbuild 1207

Controls whether ped can be incapacitated, with the health threshold and bleedoutTime that apply.

Signature

C
void _SET_PED_INCAPACITATION_MODIFIERS(Ped ped, BOOL canBeIncapacitated, int threshold, int bleedoutTime, int p4); // 0x39ED303390DDEAC7 b1207

Parameters

#NameType
1pedPed
2canBeIncapacitatedBOOL
3thresholdint
4bleedoutTimeint
5p4int

Facts

Facts about _SET_PED_INCAPACITATION_MODIFIERS
Name
_SET_PED_INCAPACITATION_MODIFIERS
Hash
0x39ED303390DDEAC7
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x39ED303390DDEAC7, -- _SET_PED_INCAPACITATION_MODIFIERS
  PlayerPedId(), -- Ped ped
  false, -- BOOL canBeIncapacitated
  0, -- int threshold
  0, -- int bleedoutTime
  0 -- int p4
)
JavaScript
Citizen.invokeNative("0x39ED303390DDEAC7", // _SET_PED_INCAPACITATION_MODIFIERS
  PlayerPedId(), // Ped ped
  false, // BOOL canBeIncapacitated
  0, // int threshold
  0, // int bleedoutTime
  0 // int p4
);
C#
Function.Call((Hash)0x39ED303390DDEAC7, // _SET_PED_INCAPACITATION_MODIFIERS
  API.PlayerPedId(), // Ped ped
  false, // BOOL canBeIncapacitated
  0, // int threshold
  0, // int bleedoutTime
  0 // int p4
);
All PED natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.