CameraClient

doScreenFadeIn

DO_SCREEN_FADE_IN0xD4E8E24955024033

The 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.

SignatureJavaScript
doScreenFadeIn(duration: number): void
SignatureLua
doScreenFadeIn(duration: integer)

Usage

JavaScript
doScreenFadeIn(duration);
Lua
doScreenFadeIn(duration)

Parameters

ParameterTypeJavaScriptLuaDescription
durationintnumberintegerThe 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

Open in the interactive natives reference