TASK_ROB_PED
Tasks ped to rob target.
Signature
void TASK_ROB_PED(Ped ped, Ped target, float p2, int flag, int p4); // 0x7BB967F85D8CCBDB b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | target | Ped |
| 3 | p2 | float |
| 4 | flag | int |
| 5 | p4 | int |
Facts
| Name | TASK_ROB_PED |
|---|---|
| Hash | 0x7BB967F85D8CCBDB |
| 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(0x7BB967F85D8CCBDB, -- TASK_ROB_PED
PlayerPedId(), -- Ped ped
PlayerPedId(), -- Ped target
0.0, -- float p2
0, -- int flag
0 -- int p4
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x7BB967F85D8CCBDB", // TASK_ROB_PED
PlayerPedId(), // Ped ped
PlayerPedId(), // Ped target
0.0, // float p2
0, // int flag
0 // int p4
);Function.Call((Hash)0x7BB967F85D8CCBDB, // TASK_ROB_PED
API.PlayerPedId(), // Ped ped
API.PlayerPedId(), // Ped target
0.0f, // float p2
0, // int flag
0 // int p4
);Related TASK natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.