setFlash
SET_FLASH0x0AB84296FED9CFC6The GTA V native SET_FLASH of the GRAPHICS namespace, as LS:MP client scripts call it: the global function setFlash, in JavaScript and in Lua.
setFlash(
p0: number,
p1: number,
fadeIn: number,
duration: number,
fadeOut: number
): voidsetFlash(
p0: number,
p1: number,
fadeIn: number,
duration: number,
fadeOut: number
)Usage
JavaScript
setFlash(p0, p1, fadeIn, duration, fadeOut);Lua
setFlash(p0, p1, fadeIn, duration, fadeOut)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | float | number | number |
p1 | float | number | number |
fadeIn | float | number | number |
duration | float | number | number |
fadeOut | float | number | number |
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.
Purpose of p0 and p1 unknown.
Reference
- Namespace
- Graphics GRAPHICS
- In the game
void SET_FLASH(float p0, float p1, float fadeIn, float duration, float fadeOut)- Hash
0x0AB84296FED9CFC6