The Lab
PED native

SET_PED_COMBAT_ABILITY

returns void2 paramsbuild 1207

Sets the combat ability of ped (poor, average or professional).

Signature

C
void SET_PED_COMBAT_ABILITY(Ped ped, int abilityLevel); // 0xC7622C0D36B2FDA8 b1207

Parameters

#NameType
1pedPed
2abilityLevelint

Facts

Facts about SET_PED_COMBAT_ABILITY
Name
SET_PED_COMBAT_ABILITY
Hash
0xC7622C0D36B2FDA8
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(0xC7622C0D36B2FDA8, -- SET_PED_COMBAT_ABILITY
  PlayerPedId(), -- Ped ped
  0 -- int abilityLevel
)
JavaScript
Citizen.invokeNative("0xC7622C0D36B2FDA8", // SET_PED_COMBAT_ABILITY
  PlayerPedId(), // Ped ped
  0 // int abilityLevel
);
C#
Function.Call((Hash)0xC7622C0D36B2FDA8, // SET_PED_COMBAT_ABILITY
  API.PlayerPedId(), // Ped ped
  0 // int abilityLevel
);
All PED natives

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