The Lab
TASK native

TASK_ENTER_ANIM_SCENE

returns void9 paramsbuild 1207

Tasks ped to enter animScene as the entity entityName using the playback list playbackListName.

Signature

C
void TASK_ENTER_ANIM_SCENE(Ped ped, AnimScene animScene, const char* entityName, const char* playbackListName, float enterSpeed, BOOL bAutoStart, int flag, int p7, float p8); // 0xC2329B0206426644 b1207

Parameters

#NameType
1pedPed
2animSceneAnimScene
3entityNameconst char*
4playbackListNameconst char*
5enterSpeedfloat
6bAutoStartBOOL
7flagint
8p7int
9p8float

Facts

Facts about TASK_ENTER_ANIM_SCENE
Name
TASK_ENTER_ANIM_SCENE
Hash
0xC2329B0206426644
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(0xC2329B0206426644, -- TASK_ENTER_ANIM_SCENE
  PlayerPedId(), -- Ped ped
  0, -- AnimScene animScene
  "text", -- const char* entityName
  "text", -- const char* playbackListName
  0.0, -- float enterSpeed
  false, -- BOOL bAutoStart
  0, -- int flag
  0, -- int p7
  0.0 -- float p8
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xC2329B0206426644", // TASK_ENTER_ANIM_SCENE
  PlayerPedId(), // Ped ped
  0, // AnimScene animScene
  "text", // const char* entityName
  "text", // const char* playbackListName
  0.0, // float enterSpeed
  false, // BOOL bAutoStart
  0, // int flag
  0, // int p7
  0.0 // float p8
);
C#
Function.Call((Hash)0xC2329B0206426644, // TASK_ENTER_ANIM_SCENE
  API.PlayerPedId(), // Ped ped
  0, // AnimScene animScene
  "text", // const char* entityName
  "text", // const char* playbackListName
  0.0f, // float enterSpeed
  false, // BOOL bAutoStart
  0, // int flag
  0, // int p7
  0.0f // float p8
);
All TASK natives

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