GraphicsClient

triggerScreenblurFadeIn

TRIGGER_SCREENBLUR_FADE_IN0xA328A24AAA6B7FDC

The GTA V native TRIGGER_SCREENBLUR_FADE_IN of the GRAPHICS namespace, as LS:MP client scripts call it: the global function triggerScreenblurFadeIn, in JavaScript and in Lua.

SignatureJavaScript
triggerScreenblurFadeIn(transitionTime: number): boolean
SignatureLua
triggerScreenblurFadeIn(transitionTime: number): boolean

Usage

JavaScript
const result = triggerScreenblurFadeIn(transitionTime);
Lua
local result = triggerScreenblurFadeIn(transitionTime)

Parameters

ParameterTypeJavaScriptLua
transitionTimefloatnumbernumber

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

time in ms to transition to fully blurred screen

Reference

Namespace
Graphics GRAPHICS
In the game
BOOL TRIGGER_SCREENBLUR_FADE_IN(float transitionTime)
Hash
0xA328A24AAA6B7FDC
Formerly
_TRANSITION_TO_BLURRED

Open in the interactive natives reference