The Lab
ANIMSCENE native

_CREATE_ANIM_SCENE

returns AnimScene5 paramsbuild 1207

Creates an anim scene from the dictionary animDict using flags and the playback list playbackListName, and returns its handle.

Bind entities with SET_ANIM_SCENE_ENTITY, then call LOAD_ANIM_SCENE and START_ANIM_SCENE.

Signature

C
AnimScene _CREATE_ANIM_SCENE(const char* animDict, int flags, const char* playbackListName, BOOL p3, BOOL p4); // 0x1FCA98E33C1437B3 b1207

Parameters

#NameType
1animDictconst char*
2flagsint
3playbackListNameconst char*
4p3BOOL
5p4BOOL

Facts

Facts about _CREATE_ANIM_SCENE
Name
_CREATE_ANIM_SCENE
Hash
0x1FCA98E33C1437B3
Namespace
Returns
AnimScene
Game build
1207

Examples

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

Lua
local animScene = Citizen.InvokeNative(0x1FCA98E33C1437B3, -- _CREATE_ANIM_SCENE
  "text", -- const char* animDict
  0, -- int flags
  "text", -- const char* playbackListName
  false, -- BOOL p3
  false, -- BOOL p4
  Citizen.ResultAsInteger()
)
print(animScene)
JavaScript
const animScene = Citizen.invokeNative("0x1FCA98E33C1437B3", // _CREATE_ANIM_SCENE
  "text", // const char* animDict
  0, // int flags
  "text", // const char* playbackListName
  false, // BOOL p3
  false, // BOOL p4
  Citizen.resultAsInteger()
);
console.log(animScene)
C#
int animScene = Function.Call<int>((Hash)0x1FCA98E33C1437B3, // _CREATE_ANIM_SCENE
  "text", // const char* animDict
  0, // int flags
  "text", // const char* playbackListName
  false, // BOOL p3
  false // BOOL p4
);
All ANIMSCENE natives

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