The Lab
ANIMSCENE native

SET_ANIM_SCENE_ENTITY

returns void4 paramsbuild 1207

Binds entity to the slot entityName of animScene using flags.

Call it for every participant before LOAD_ANIM_SCENE.

Signature

C
void SET_ANIM_SCENE_ENTITY(AnimScene animScene, const char* entityName, Entity entity, int flags); // 0x8B720AD451CA2AB3 b1207

Parameters

#NameType
1animSceneAnimScene
2entityNameconst char*
3entityEntity
4flagsint

Facts

Facts about SET_ANIM_SCENE_ENTITY
Name
SET_ANIM_SCENE_ENTITY
Hash
0x8B720AD451CA2AB3
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(0x8B720AD451CA2AB3, -- SET_ANIM_SCENE_ENTITY
  0, -- AnimScene animScene
  "text", -- const char* entityName
  PlayerPedId(), -- Entity entity
  0 -- int flags
)
JavaScript
Citizen.invokeNative("0x8B720AD451CA2AB3", // SET_ANIM_SCENE_ENTITY
  0, // AnimScene animScene
  "text", // const char* entityName
  PlayerPedId(), // Entity entity
  0 // int flags
);
C#
Function.Call((Hash)0x8B720AD451CA2AB3, // SET_ANIM_SCENE_ENTITY
  0, // AnimScene animScene
  "text", // const char* entityName
  API.PlayerPedId(), // Entity entity
  0 // int flags
);
All ANIMSCENE natives

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