ResetPedsLODDistance

From Multi Theft Auto: Wiki
Revision as of 23:11, 22 July 2018 by Myonlake (talk | contribs) (Created page with "__NOTOC__ {{Client function}} <!-- {{New feature/item|3.0156|1.5.5|11199|Resets the distance of peds LOD to default. Default values depends on client setting. If client has en...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Resets the distance of peds LOD to default. Default values depends on client setting. If client has enabled high detail peds in video options, value will be reset to 500 - otherwise to 60.

Syntax

bool resetPedsLODDistance ( )

Returns

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

Example

function resetLOD( )
    resetPedsLODDistance( )
end
addCommandHandler( "resetlod", resetLOD )

See Also