SetPedsLODDistance

From Multi Theft Auto: Wiki
Revision as of 23:05, 22 July 2018 by Myonlake (talk | contribs) (Created page with "__NOTOC__ {{Client function}} <!-- {{New feature/item|3.0156|1.5.5|6948|This function sets the peds LOD distance.}} --> This function sets the peds LOD distance. ==Syntax==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function sets the peds LOD distance.

Syntax

bool setPedsLODDistance ( float distance )

Required arguments

  • distance: the new peds LOD distance. It must be between 0 and 500. Default value is 60.

Returns

This function returns true if the argument is valid. Returns false otherwise.

Example

This example doubles the peds LOD distance.

setPedsLODDistance( 120 )

See also