RedM Natives

SET_PED_COMBAT_ABILITY

CAL_POOR, CAL_AVERAGE, CAL_PROFESSIONAL

Hash0xC7622C0D36B2FDA8
Runtime nameSetPedCombatAbility
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xC7622C0D36B2FDA8

Signature

void SET_PED_COMBAT_ABILITY(Ped ped, int abilityLevel);

Parameters

NameTypeDescription
pedPed—
abilityLevelint—

Returns void

Description

abilityLevel:
enum eCombatAbilityLevel
{
	CAL_POOR,
	CAL_AVERAGE,
	CAL_PROFESSIONAL
};

Usage

Lua
SetPedCombatAbility(ped, abilityLevel)

-- always works, by hash
Citizen.InvokeNative(0xC7622C0D36B2FDA8, ped, abilityLevel)
JavaScript and C#
JavaScript
SetPedCombatAbility(ped, abilityLevel);

// by hash
Citizen.invokeNative('0xC7622C0D36B2FDA8', ped, abilityLevel);
C#
Function.Call((Hash)0xC7622C0D36B2FDA8, ped, abilityLevel);

Enums and flags

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.