doScreenFadeIn
DO_SCREEN_FADE_IN0xD4E8E24955024033The GTA V native DO_SCREEN_FADE_IN of the CAM namespace, as LS:MP client scripts call it: the global function doScreenFadeIn, in JavaScript and in Lua.
doScreenFadeIn(duration: number): voiddoScreenFadeIn(duration: integer)Usage
JavaScript
doScreenFadeIn(duration);Lua
doScreenFadeIn(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 in.
Reference
- Namespace
- Camera CAM
- In the game
void DO_SCREEN_FADE_IN(int duration)- Hash
0xD4E8E24955024033