RedM Natives

IS_ENTITY_PLAYING_ANIM

Hash0xDEE49D5CA6C49148
Runtime nameIsEntityPlayingAnim
NamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x1F0B79228E461EC9

Signature

BOOL IS_ENTITY_PLAYING_ANIM(Entity entity, const char* animDict, const char* animName, int animType);

Parameters

NameTypeDescription
entityEntity—
animDictconst char*—
animNameconst char*—
animTypeint—

Returns BOOL

Usage

Lua
local retval = IsEntityPlayingAnim(entity, animDict, animName, animType)

-- always works, by hash
local retval = Citizen.InvokeNative(0xDEE49D5CA6C49148, entity, animDict, animName, animType, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsEntityPlayingAnim(entity, animDict, animName, animType);

// by hash
const retval = Citizen.invokeNative('0xDEE49D5CA6C49148', entity, animDict, animName, animType, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xDEE49D5CA6C49148, entity, animDict, animName, animType);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.