From Multi Theft Auto: Wiki
Jump to: navigation, search

This function sets the peds LOD distance.
60 units
100 units
500 units


bool setPedsLODDistance ( float distance )

Required arguments

  • distance: the new peds LOD distance. It must be between 0 and 500. (Default for high_detail_peds on is 500, when off, it is 60).


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


This example sets the peds LOD distance to 120.

setPedsLODDistance( 120 )

See also