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

This function resets the LOD distance for an object / model ID.


bool engineResetModelLODDistance ( int model ) 

OOP Syntax Help! I don't understand this!

Method: Engine.resetModelLODDistance(...)

Required Arguments

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


Returns true if the LOD distance was reset to default, or false if the model argument is incorrect, or the LOD distance hasn't been changed.


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

Before submitting check out Editing Guidelines Script Examples.


Minimum server version n/a
Minimum client version 1.5.7-9.20383

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.5.7-9.20383" />

See Also