The Lab
ANIMSCENE native

ATTACH_ANIM_SCENE_TO_ENTITY

returns void3 paramsbuild 1207

Attaches the origin of animScene to entity, so the scene moves with it.

Signature

C
void ATTACH_ANIM_SCENE_TO_ENTITY(AnimScene animScene, Entity entity, int p2); // 0xDC418495DBA327A1 b1207

Parameters

#NameType
1animSceneAnimScene
2entityEntity
3p2int

Facts

Facts about ATTACH_ANIM_SCENE_TO_ENTITY
Name
ATTACH_ANIM_SCENE_TO_ENTITY
Hash
0xDC418495DBA327A1
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(0xDC418495DBA327A1, -- ATTACH_ANIM_SCENE_TO_ENTITY
  0, -- AnimScene animScene
  PlayerPedId(), -- Entity entity
  0 -- int p2
)
JavaScript
Citizen.invokeNative("0xDC418495DBA327A1", // ATTACH_ANIM_SCENE_TO_ENTITY
  0, // AnimScene animScene
  PlayerPedId(), // Entity entity
  0 // int p2
);
C#
Function.Call((Hash)0xDC418495DBA327A1, // ATTACH_ANIM_SCENE_TO_ENTITY
  0, // AnimScene animScene
  API.PlayerPedId(), // Entity entity
  0 // int p2
);
All ANIMSCENE natives

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