MiscClient

setFadeOutAfterArrest

SET_FADE_OUT_AFTER_ARREST0x1E0B4DC0D990A4E7

The GTA V native SET_FADE_OUT_AFTER_ARREST of the MISC namespace, as LS:MP client scripts call it: the global function setFadeOutAfterArrest, in JavaScript and in Lua.

SignatureJavaScript
setFadeOutAfterArrest(toggle: boolean): void
SignatureLua
setFadeOutAfterArrest(toggle: boolean)

Usage

JavaScript
setFadeOutAfterArrest(toggle);
Lua
setFadeOutAfterArrest(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

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.

Sets whether the game should fade out after the player is arrested.

Reference

Namespace
Misc MISC
In the game
void SET_FADE_OUT_AFTER_ARREST(BOOL toggle)
Hash
0x1E0B4DC0D990A4E7

Open in the interactive natives reference