animpostfxIsRunning
ANIMPOSTFX_IS_RUNNING0x36AD3E690DA5ACEBThe GTA V native ANIMPOSTFX_IS_RUNNING of the GRAPHICS namespace, as LS:MP client scripts call it: the global function animpostfxIsRunning, in JavaScript and in Lua.
animpostfxIsRunning(effectName: string): booleananimpostfxIsRunning(effectName: string): booleanUsage
JavaScript
const result = animpostfxIsRunning(effectName);Lua
local result = animpostfxIsRunning(effectName)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
effectName | string | string | string |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns whether the specified effect is active.
See animpostfxPlay
Full list of animpostFX / screen effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animPostFxNamesCompact.json
Reference
- Namespace
- Graphics GRAPHICS
- In the game
BOOL ANIMPOSTFX_IS_RUNNING(const char* effectName)- Hash
0x36AD3E690DA5ACEB- Formerly
_GET_SCREEN_EFFECT_IS_ACTIVE