The Lab
ANIMSCENE native

IS_ENTITY_PLAYING_ANIM_SCENE

returns BOOL2 paramsbuild 1207

Returns true if entity is currently taking part in animScene.

Signature

C
BOOL IS_ENTITY_PLAYING_ANIM_SCENE(Entity entity, AnimScene animScene); // 0x3AB6C7B0BB0DF4B1 b1207

Parameters

#NameType
1entityEntity
2animSceneAnimScene

Facts

Facts about IS_ENTITY_PLAYING_ANIM_SCENE
Name
IS_ENTITY_PLAYING_ANIM_SCENE
Hash
0x3AB6C7B0BB0DF4B1
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0x3AB6C7B0BB0DF4B1, -- IS_ENTITY_PLAYING_ANIM_SCENE
  PlayerPedId(), -- Entity entity
  0 -- AnimScene animScene
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x3AB6C7B0BB0DF4B1", // IS_ENTITY_PLAYING_ANIM_SCENE
  PlayerPedId(), // Entity entity
  0, // AnimScene animScene
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x3AB6C7B0BB0DF4B1, // IS_ENTITY_PLAYING_ANIM_SCENE
  API.PlayerPedId(), // Entity entity
  0 // AnimScene animScene
);
All ANIMSCENE natives

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