EngineGetModelLODDistance

From Multi Theft Auto: Wiki
Revision as of 20:27, 24 October 2012 by Ccw (talk | contribs) (Created page with "{{Client function}} __NOTOC__ This function gets the LOD distance for any object / model ID. ==Syntax== <syntaxhighlight lang="lua"> float engineGetModelLODDistance ( int model ) </syntaxhighlight> =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function gets the LOD distance for any object / model ID.

Syntax

float engineGetModelLODDistance ( int model ) 

Required Arguments

  • model: The model / object ID number you want to get the LOD distance of.

Returns

Returns a float representing the LOD distance of the model, or false if the model argument is incorrect.

Example

Click to collapse [-]
Client
-- TODO

Requirements

Minimum server version n/a
Minimum client version 1.3.1-9.04779

Note: Using this feature requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version client="1.3.1-9.04779" />

See Also