setFadeOutAfterDeath
SET_FADE_OUT_AFTER_DEATH0x4A18E01DF2C87B86The GTA V native SET_FADE_OUT_AFTER_DEATH of the MISC namespace, as LS:MP client scripts call it: the global function setFadeOutAfterDeath, in JavaScript and in Lua.
setFadeOutAfterDeath(toggle: boolean): voidsetFadeOutAfterDeath(toggle: boolean)Usage
JavaScript
setFadeOutAfterDeath(toggle);Lua
setFadeOutAfterDeath(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
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 dies.
Reference
- Namespace
- Misc MISC
- In the game
void SET_FADE_OUT_AFTER_DEATH(BOOL toggle)- Hash
0x4A18E01DF2C87B86