EngineResetModelLODDistance: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (Needs Example)
Line 15: Line 15:


==Example==  
==Example==  
<syntaxhighlight lang="lua">
{{Needs Example}}
TODO
</syntaxhighlight>


==Requirements==
==Requirements==

Revision as of 18:00, 29 April 2024

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.


Requirements

This template will be deleted.

See Also