SET_PED_COMBAT_ABILITY
Sets the combat ability of ped (poor, average or professional).
Signature
void SET_PED_COMBAT_ABILITY(Ped ped, int abilityLevel); // 0xC7622C0D36B2FDA8 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | abilityLevel | int |
Facts
| 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.
Citizen.InvokeNative(0xC7622C0D36B2FDA8, -- SET_PED_COMBAT_ABILITY
PlayerPedId(), -- Ped ped
0 -- int abilityLevel
)Citizen.invokeNative("0xC7622C0D36B2FDA8", // SET_PED_COMBAT_ABILITY
PlayerPedId(), // Ped ped
0 // int abilityLevel
);Function.Call((Hash)0xC7622C0D36B2FDA8, // SET_PED_COMBAT_ABILITY
API.PlayerPedId(), // Ped ped
0 // int abilityLevel
);Related PED natives
- SET_PED_COMBAT_ATTRIBUTES
- SET_PED_COMBAT_MOVEMENT
- SET_PED_COMBAT_RANGE
- SET_PED_SHOULD_PLAY_COMBAT_SCENARIO_EXIT
- SET_PED_CONFIG_FLAG
- SET_PED_CAN_ARM_IK
- SET_PED_CAN_BE_INCAPACITATED
- SET_PED_CAN_BE_KNOCKED_OFF_VEHICLE
- SET_PED_CAN_BE_TARGETTED
- SET_PED_CAN_BE_TARGETTED_BY_PLAYER
- SET_PED_CAN_BE_TARGETTED_BY_TEAM
- SET_PED_CAN_HEAD_IK
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.