TASK_COMBAT_PED
Tasks ped to attack targetPed.
Signature
void TASK_COMBAT_PED(Ped ped, Ped targetPed, int p2, int p3); // 0xF166E48407BAC484 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | targetPed | Ped |
| 3 | p2 | int |
| 4 | p3 | int |
Facts
| Name | TASK_COMBAT_PED |
|---|---|
| Hash | 0xF166E48407BAC484 |
| 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(0xF166E48407BAC484, -- TASK_COMBAT_PED
PlayerPedId(), -- Ped ped
PlayerPedId(), -- Ped targetPed
0, -- int p2
0 -- int p3
)Citizen.invokeNative("0xF166E48407BAC484", // TASK_COMBAT_PED
PlayerPedId(), // Ped ped
PlayerPedId(), // Ped targetPed
0, // int p2
0 // int p3
);Function.Call((Hash)0xF166E48407BAC484, // TASK_COMBAT_PED
API.PlayerPedId(), // Ped ped
API.PlayerPedId(), // Ped targetPed
0, // int p2
0 // int p3
);Related TASK natives
- TASK_COMBAT_PED_TIMED
- TASK_COMBAT_ANIMAL_CHARGE_PED
- TASK_COMBAT_HATED_TARGETS_AROUND_PED
- TASK_COMBAT_HATED_TARGETS_AROUND_PED_TIMED
- TASK_COMBAT_ANIMAL_WARN
- TASK_COMBAT_HATED_TARGETS
- TASK_COMBAT_HATED_TARGETS_IN_AREA
- TASK_COMBAT_HATED_TARGETS_NO_LOS_TEST
- _TASK_COMBAT_PED_AT_COORDS
- TASK_ARREST_PED
- TASK_FLEE_PED
- TASK_FLEE_PED_VIA
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.