- Documentation
- Server functions
- setPedsLODDistance
Function
setPedsLODDistance
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.