The Lab
TASK native

STOP_ANIM_TASK

returns void4 paramsbuild 1207

Stops the animation animationName from animDictionary on ped, blending out with p3.

Signature

C
void STOP_ANIM_TASK(Ped ped, const char* animDictionary, const char* animationName, float p3); // 0x97FF36A1D40EA00A b1207

Parameters

#NameType
1pedPed
2animDictionaryconst char*
3animationNameconst char*
4p3float

Facts

Facts about STOP_ANIM_TASK
Name
STOP_ANIM_TASK
Hash
0x97FF36A1D40EA00A
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(0x97FF36A1D40EA00A, -- STOP_ANIM_TASK
  PlayerPedId(), -- Ped ped
  "text", -- const char* animDictionary
  "text", -- const char* animationName
  0.0 -- float p3
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x97FF36A1D40EA00A", // STOP_ANIM_TASK
  PlayerPedId(), // Ped ped
  "text", // const char* animDictionary
  "text", // const char* animationName
  0.0 // float p3
);
C#
Function.Call((Hash)0x97FF36A1D40EA00A, // STOP_ANIM_TASK
  API.PlayerPedId(), // Ped ped
  "text", // const char* animDictionary
  "text", // const char* animationName
  0.0f // float p3
);
All TASK natives

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