ANIMPOSTFX_IS_RUNNING
Returns true if the post effect effectName is running.
Signature
BOOL ANIMPOSTFX_IS_RUNNING(const char* effectName); // 0x4A123E85D7C4CA0B b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | effectName | const char* |
Facts
| 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.
local result = Citizen.InvokeNative(0x4A123E85D7C4CA0B, -- ANIMPOSTFX_IS_RUNNING
"text" -- const char* effectName
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x4A123E85D7C4CA0B", // ANIMPOSTFX_IS_RUNNING
"text", // const char* effectName
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x4A123E85D7C4CA0B, // ANIMPOSTFX_IS_RUNNING
"text" // const char* effectName
);Related GRAPHICS natives
- ANIMPOSTFX_IS_PRELOADING_BY_STACKHASH
- ANIMPOSTFX_HAS_EVENT_TRIGGERED_BY_STACKHASH
- ANIMPOSTFX_PLAY
- ANIMPOSTFX_STOP
- ANIMPOSTFX_STOP_ALL
- _ANIMPOSTFX_IS_STACKHASH_PLAYING
- _ANIMPOSTFX_IS_TAG_PLAYING
- _ANIMPOSTFX_CLEAR_EFFECT
- _ANIMPOSTFX_GET_STACKHASH
- _ANIMPOSTFX_HAS_EVENT_TRIGGERED
- _ANIMPOSTFX_HAS_LOADED
- _ANIMPOSTFX_PLAY_TAG
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.