MTA:Eir/functions/setVehicleLODRenderingEnabled
From Multi Theft Auto: Wiki
This function switches the vehicle LOD rendering on or off. If vehicle LOD rendering is disabled, only the high quality version of the vehicle is allowed to render. Otherwise the low quality version of the vehicle will render after a specific distance (depending on vehicle type). This setting can be overridden by the users settings.
Syntax
bool setVehicleLODRenderingEnabled ( bool enabled )
Arguments
- enabled: a boolean deciding whether vehicle LOD rendering should be favorized or not
Returns
Returns true if enabled is passed as valid boolean, false otherwise.
Example
Click to collapse [-]
ClientThis snippet usually forces high quality rendering of the in-game vehicles.
setVehicleLODRenderingEnabled( false );