_TASK_COMBAT_PED_AT_COORDS
Based on its name and signature, here is our best reading:
Tasks ped to fight near the coordinates (x, y, z).
Signature
void _TASK_COMBAT_PED_AT_COORDS(Ped ped, float x, float y, float z, int p4, int p5); // 0xC624414FA748B9BA b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | x | float |
| 3 | y | float |
| 4 | z | float |
| 5 | p4 | int |
| 6 | p5 | int |
Facts
| Name | _TASK_COMBAT_PED_AT_COORDS |
|---|---|
| Hash | 0xC624414FA748B9BA |
| 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(0xC624414FA748B9BA, -- _TASK_COMBAT_PED_AT_COORDS
PlayerPedId(), -- Ped ped
0.0, -- float x
0.0, -- float y
0.0, -- float z
0, -- int p4
0 -- int p5
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xC624414FA748B9BA", // _TASK_COMBAT_PED_AT_COORDS
PlayerPedId(), // Ped ped
0.0, // float x
0.0, // float y
0.0, // float z
0, // int p4
0 // int p5
);Function.Call((Hash)0xC624414FA748B9BA, // _TASK_COMBAT_PED_AT_COORDS
API.PlayerPedId(), // Ped ped
0.0f, // float x
0.0f, // float y
0.0f, // float z
0, // int p4
0 // int p5
);Related TASK natives
- _TASK_PUT_PED_DIRECTLY_INTO_COVER_FROM_COORDS
- TASK_COMBAT_ANIMAL_CHARGE_PED
- TASK_COMBAT_HATED_TARGETS_AROUND_PED
- TASK_COMBAT_HATED_TARGETS_AROUND_PED_TIMED
- TASK_COMBAT_PED
- TASK_COMBAT_PED_TIMED
- TASK_GO_TO_COORD_AND_AIM_AT_HATED_ENTITIES_NEAR_COORD_USING_COMBAT_STYLE
- TASK_GO_TO_COORD_WHILE_AIMING_AT_COORD_USING_COMBAT_STYLE
- TASK_GO_TO_COORD_WHILE_AIMING_AT_ENTITY_USING_COMBAT_STYLE
- TASK_GO_TO_ENTITY_WHILE_AIMING_AT_ENTITY_USING_COMBAT_STYLE
- TASK_VEHICLE_AIM_AT_PED
- TASK_VEHICLE_SHOOT_AT_PED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.