overrideLodscaleThisFrame
OVERRIDE_LODSCALE_THIS_FRAME0xA76359FC80B2438EThe GTA V native OVERRIDE_LODSCALE_THIS_FRAME of the STREAMING namespace, as LS:MP client scripts call it: the global function overrideLodscaleThisFrame, in JavaScript and in Lua.
overrideLodscaleThisFrame(scaling: number): voidoverrideLodscaleThisFrame(scaling: number)Usage
JavaScript
overrideLodscaleThisFrame(scaling);Lua
overrideLodscaleThisFrame(scaling)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
scaling | 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.
This allows you to override "extended distance scaling" setting. Needs to be called each frame.
Max scaling seems to be 200.0, normal is 1.0
Reference
- Namespace
- Streaming STREAMING
- In the game
void OVERRIDE_LODSCALE_THIS_FRAME(float scaling)- Hash
0xA76359FC80B2438E