EngineResetModelLODDistance

From Multi Theft Auto: Wiki
Revision as of 17:21, 7 November 2024 by Fernando187 (talk | contribs) (Remove obsolete Requirements section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Syntax

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

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.

Example

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.


See Also