The Lab
ENTITY native

_IS_ENTITY_PLAYING_ANY_ANIM

returns BOOL2 paramsbuild 1207

Returns true if the entity is playing any animation.

Signature

C
BOOL _IS_ENTITY_PLAYING_ANY_ANIM(Entity entity, int p1); // 0x0B7CB1300CBFE19C b1207

Parameters

#NameType
1entityEntity
2p1int

Facts

Facts about _IS_ENTITY_PLAYING_ANY_ANIM
Name
_IS_ENTITY_PLAYING_ANY_ANIM
Hash
0x0B7CB1300CBFE19C
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(0x0B7CB1300CBFE19C, -- _IS_ENTITY_PLAYING_ANY_ANIM
  PlayerPedId(), -- Entity entity
  0 -- int p1
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x0B7CB1300CBFE19C", // _IS_ENTITY_PLAYING_ANY_ANIM
  PlayerPedId(), // Entity entity
  0, // int p1
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x0B7CB1300CBFE19C, // _IS_ENTITY_PLAYING_ANY_ANIM
  API.PlayerPedId(), // Entity entity
  0 // int p1
);
All ENTITY natives

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