setFadeOutAfterArrest
SET_FADE_OUT_AFTER_ARREST0x1E0B4DC0D990A4E7The 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.
setFadeOutAfterArrest(toggle: boolean): voidsetFadeOutAfterArrest(toggle: boolean)Usage
JavaScript
setFadeOutAfterArrest(toggle);Lua
setFadeOutAfterArrest(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 is arrested.
Reference
- Namespace
- Misc MISC
- In the game
void SET_FADE_OUT_AFTER_ARREST(BOOL toggle)- Hash
0x1E0B4DC0D990A4E7