The Lab
TASK native

TASK_ANIMAL_UNALERTED

returns void5 paramsbuild 1207

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

Returns the animal ped to an unalerted state.

Signature

C
void TASK_ANIMAL_UNALERTED(Ped ped, Any p1, Any p2, Any p3, Any p4); // 0x21FDF9A25CFE1CE5 b1207

Parameters

#NameType
1pedPed
2p1Any
3p2Any
4p3Any
5p4Any

Facts

Facts about TASK_ANIMAL_UNALERTED
Name
TASK_ANIMAL_UNALERTED
Hash
0x21FDF9A25CFE1CE5
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(0x21FDF9A25CFE1CE5, -- TASK_ANIMAL_UNALERTED
  PlayerPedId(), -- Ped ped
  0, -- Any p1
  0, -- Any p2
  0, -- Any p3
  0 -- Any p4
)
JavaScript
Citizen.invokeNative("0x21FDF9A25CFE1CE5", // TASK_ANIMAL_UNALERTED
  PlayerPedId(), // Ped ped
  0, // Any p1
  0, // Any p2
  0, // Any p3
  0 // Any p4
);
C#
Function.Call((Hash)0x21FDF9A25CFE1CE5, // TASK_ANIMAL_UNALERTED
  API.PlayerPedId(), // Ped ped
  0, // Any p1
  0, // Any p2
  0, // Any p3
  0 // Any p4
);
All TASK natives

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