The Lab
TASK native

TASK_ANIMAL_ALERTED

returns void3 paramsbuild 1207

Based on its name and signature, here is our best reading:

Puts the animal ped in an alerted state.

Signature

C
void TASK_ANIMAL_ALERTED(Ped ped, Any p1, Any p2); // 0x979D93372FC8C565 b1207

Parameters

#NameType
1pedPed
2p1Any
3p2Any

Facts

Facts about TASK_ANIMAL_ALERTED
Name
TASK_ANIMAL_ALERTED
Hash
0x979D93372FC8C565
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x979D93372FC8C565, -- TASK_ANIMAL_ALERTED
  PlayerPedId(), -- Ped ped
  0, -- Any p1
  0 -- Any p2
)
JavaScript
Citizen.invokeNative("0x979D93372FC8C565", // TASK_ANIMAL_ALERTED
  PlayerPedId(), // Ped ped
  0, // Any p1
  0 // Any p2
);
C#
Function.Call((Hash)0x979D93372FC8C565, // TASK_ANIMAL_ALERTED
  API.PlayerPedId(), // Ped ped
  0, // Any p1
  0 // Any p2
);
All TASK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.