The Lab
GRAPHICS native

ANIMPOSTFX_IS_RUNNING

returns BOOL1 parambuild 1207

Returns true if the post effect effectName is running.

Signature

C
BOOL ANIMPOSTFX_IS_RUNNING(const char* effectName); // 0x4A123E85D7C4CA0B b1207

Parameters

#NameType
1effectNameconst char*

Facts

Facts about ANIMPOSTFX_IS_RUNNING
Name
ANIMPOSTFX_IS_RUNNING
Hash
0x4A123E85D7C4CA0B
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(0x4A123E85D7C4CA0B, -- ANIMPOSTFX_IS_RUNNING
  "text" -- const char* effectName
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x4A123E85D7C4CA0B", // ANIMPOSTFX_IS_RUNNING
  "text", // const char* effectName
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x4A123E85D7C4CA0B, // ANIMPOSTFX_IS_RUNNING
  "text" // const char* effectName
);
All GRAPHICS natives

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