GraphicsClient

animpostfxStopAndFlushRequests

ANIMPOSTFX_STOP_AND_FLUSH_REQUESTS0xD2209BE128B5418C

The 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.

SignatureJavaScript
animpostfxStopAndFlushRequests(effectName: string): void
SignatureLua
animpostfxStopAndFlushRequests(effectName: string)

Usage

JavaScript
animpostfxStopAndFlushRequests(effectName);
Lua
animpostfxStopAndFlushRequests(effectName)

Parameters

ParameterTypeJavaScriptLua
effectNamestringstringstring

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

Open in the interactive natives reference