doScreenFadeOut
DO_SCREEN_FADE_OUT0x891B5B39AC6302AFThe GTA V native DO_SCREEN_FADE_OUT of the CAM namespace, as LS:MP client scripts call it: the global function doScreenFadeOut, in JavaScript and in Lua.
doScreenFadeOut(duration: number): voiddoScreenFadeOut(duration: integer)Usage
JavaScript
doScreenFadeOut(duration);Lua
doScreenFadeOut(duration)Parameters
| Parameter | Type | JavaScript | Lua | Description |
|---|---|---|---|---|
duration | int | number | integer | The time the fade should take, in milliseconds. |
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.
Fades the screen out.
Reference
- Namespace
- Camera CAM
- In the game
void DO_SCREEN_FADE_OUT(int duration)- Hash
0x891B5B39AC6302AF