SET_PED_COMBAT_ABILITY
CAL_POOR, CAL_AVERAGE, CAL_PROFESSIONAL
Hash
0xC7622C0D36B2FDA8Runtime name
SetPedCombatAbilityNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xC7622C0D36B2FDA8Signature
void SET_PED_COMBAT_ABILITY(Ped ped, int abilityLevel);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
abilityLevel | int | — |
Returns void
Description
abilityLevel:
enum eCombatAbilityLevel
{
CAL_POOR,
CAL_AVERAGE,
CAL_PROFESSIONAL
};Usage
SetPedCombatAbility(ped, abilityLevel)
-- always works, by hash
Citizen.InvokeNative(0xC7622C0D36B2FDA8, ped, abilityLevel)JavaScript and C#
SetPedCombatAbility(ped, abilityLevel);
// by hash
Citizen.invokeNative('0xC7622C0D36B2FDA8', ped, abilityLevel);Function.Call((Hash)0xC7622C0D36B2FDA8, ped, abilityLevel);Enums and flags
- CCombatData__Ability 4 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.