MiscClient

setFadeInAfterDeathArrest

SET_FADE_IN_AFTER_DEATH_ARREST0xDA66D2796BA33F12

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

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

Usage

JavaScript
setFadeInAfterDeathArrest(toggle);
Lua
setFadeInAfterDeathArrest(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 in after the player dies or is arrested.

Reference

Namespace
Misc MISC
In the game
void SET_FADE_IN_AFTER_DEATH_ARREST(BOOL toggle)
Hash
0xDA66D2796BA33F12

Open in the interactive natives reference