setLightsCutoffDistanceTweak
SET_LIGHTS_CUTOFF_DISTANCE_TWEAK0xBC3CCA5844452B06The GTA V native SET_LIGHTS_CUTOFF_DISTANCE_TWEAK of the VEHICLE namespace, as LS:MP client scripts call it: the global function setLightsCutoffDistanceTweak, in JavaScript and in Lua.
setLightsCutoffDistanceTweak(distance: number): voidsetLightsCutoffDistanceTweak(distance: number)Usage
JavaScript
setLightsCutoffDistanceTweak(distance);Lua
setLightsCutoffDistanceTweak(distance)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
distance | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_LIGHTS_CUTOFF_DISTANCE_TWEAK(float distance)- Hash
0xBC3CCA5844452B06