animpostfxStopAndFlushRequests
ANIMPOSTFX_STOP_AND_FLUSH_REQUESTS0xD2209BE128B5418CThe GTA V native ANIMPOSTFX_STOP_AND_FLUSH_REQUESTS of the GRAPHICS namespace, as LS:MP client scripts call it: the global function animpostfxStopAndFlushRequests, in JavaScript and in Lua.
animpostfxStopAndFlushRequests(effectName: string): voidanimpostfxStopAndFlushRequests(effectName: string)Usage
JavaScript
animpostfxStopAndFlushRequests(effectName);Lua
animpostfxStopAndFlushRequests(effectName)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
effectName | string | string | string |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Stops the effect and sets a value (bool) in its data to false.
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
void ANIMPOSTFX_STOP_AND_FLUSH_REQUESTS(const char* effectName)- Hash
0xD2209BE128B5418C- Formerly
_ANIMPOSTFX_STOP_AND_DO_UNK