setFlashLightFadeDistance
SET_FLASH_LIGHT_FADE_DISTANCE0xCEA66DAD478CD39BThe GTA V native SET_FLASH_LIGHT_FADE_DISTANCE of the WEAPON namespace, as LS:MP client scripts call it: the global function setFlashLightFadeDistance, in JavaScript and in Lua.
setFlashLightFadeDistance(distance: number): booleansetFlashLightFadeDistance(distance: number): booleanUsage
JavaScript
const result = setFlashLightFadeDistance(distance);Lua
local result = setFlashLightFadeDistance(distance)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
distance | float | number | number |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Weapon WEAPON
- In the game
BOOL SET_FLASH_LIGHT_FADE_DISTANCE(float distance)- Hash
0xCEA66DAD478CD39B