SetVehiclesLODDistance

From Multi Theft Auto: Wiki
Revision as of 15:52, 23 February 2017 by Lopez (talk | contribs) (Created page with "{{Client function}}{{Needs Example}}__NOTOC__ {{New feature/item|3.0154|1.5.3|11199| Sets the distance of vehicles LOD. }} ==Syntax== <syntaxhighlight lang="lua"> bool setVeh...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Accessories-text-editor.png Script Example Missing Function SetVehiclesLODDistance needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.

Sets the distance of vehicles LOD.

Syntax

bool setVehiclesLODDistance ( float vehiclesDistance, float trainsAndPlanesDistance = vehiclesDistance * 2.14 )

Required Arguments

  • vehiclesDistance: general distance used for most vehicles, this value is clamped to 0 – 500

Optional Arguments

  • trainsAndPlanesDistance: distance used for trains and planes, this value is clamped to 0 – 500

See Also