RedM Natives

ANIMPOSTFX_IS_RUNNING

Hash0x4A123E85D7C4CA0B
Runtime nameAnimpostfxIsRunning
NamespaceGRAPHICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x36AD3E690DA5ACEB

Signature

BOOL ANIMPOSTFX_IS_RUNNING(const char* effectName);

Parameters

NameTypeDescription
effectNameconst char*—

Returns BOOL

Usage

Lua
local retval = AnimpostfxIsRunning(effectName)

-- always works, by hash
local retval = Citizen.InvokeNative(0x4A123E85D7C4CA0B, effectName, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = AnimpostfxIsRunning(effectName);

// by hash
const retval = Citizen.invokeNative('0x4A123E85D7C4CA0B', effectName, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x4A123E85D7C4CA0B, effectName);

Sources

alloc8or RDR3 NativeDB

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