TASK_ANIMAL_FLEE
Tasks the animal ped to flee from targetPed.
Signature
void TASK_ANIMAL_FLEE(Ped ped, Ped targetPed, Any p2); // 0xA899B61C66F09134 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | targetPed | Ped |
| 3 | p2 | Any |
Facts
| Name | TASK_ANIMAL_FLEE |
|---|---|
| Hash | 0xA899B61C66F09134 |
| 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(0xA899B61C66F09134, -- TASK_ANIMAL_FLEE
PlayerPedId(), -- Ped ped
PlayerPedId(), -- Ped targetPed
0 -- Any p2
)Citizen.invokeNative("0xA899B61C66F09134", // TASK_ANIMAL_FLEE
PlayerPedId(), // Ped ped
PlayerPedId(), // Ped targetPed
0 // Any p2
);Function.Call((Hash)0xA899B61C66F09134, // TASK_ANIMAL_FLEE
API.PlayerPedId(), // Ped ped
API.PlayerPedId(), // Ped targetPed
0 // Any p2
);Related TASK natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.