ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. setPedsLODDistance

Function

setPedsLODDistance

ServerWorldIdentical to MTA:SA

Stores the distance beyond which peds stop being drawn (0-500 m, 60 by default).

Syntax

bool setPedsLODDistance(float distance)

Arguments

distancefloat
Distance in metres.

Returns

true on success.

Example

setPedsLODDistance(150)

Notes

State for scripts. The drawing range in the game is set by the engine.

See also