resetVehiclesLODDistance | Multi Theft Auto: Wiki Skip to content

resetVehiclesLODDistance

Client-side
Server-side
Shared

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


Resets the distance of vehicles LOD to default. Default values depends on client setting. If client has enabled high detail vehicles in video options, value will be reset to (500, 500) - otherwise to (70, 150). You can check value of this option using dxGetStatus (SettingHighDetailVehicles).

Syntax

bool resetVehiclesLODDistance ( )

Returns

  • bool: value

Returns true if the vehicles LOD distance was reset, false otherwise.

Code Examples

shared
function resetLOD( )
resetVehiclesLODDistance( )
end
addCommandHandler( "resetlod", resetLOD )

See Also

World Functions