The Lab
ANIMSCENE native

ATTACH_ANIM_SCENE_TO_ENTITY_PRESERVING_LOCATION

returns void3 paramsbuild 1207

Attaches animScene to entity while keeping the scene's current world position.

Signature

C
void ATTACH_ANIM_SCENE_TO_ENTITY_PRESERVING_LOCATION(AnimScene animScene, Entity entity, int p2); // 0x1C0B105C3F30B88D b1207

Parameters

#NameType
1animSceneAnimScene
2entityEntity
3p2int

Facts

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