SetPedsLODDistance

From Multi Theft Auto: Wiki
Revision as of 21:23, 7 October 2022 by Lopez (talk | contribs) (change arg desc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function sets the peds LOD distance.

60 units
100 units
500 units

Syntax

bool setPedsLODDistance ( float distance )

Required arguments

  • distance: the new peds LOD distance. This value is clamped to 0500. (Default for high_detail_peds on is 500, when off, it is 60).

Returns

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

Example

This example sets the peds LOD distance to 120.

setPedsLODDistance( 120 )

See also