EngineResetModelLODDistance: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Needs Example)
(Remove obsolete Requirements section)
 
Line 16: Line 16:
==Example==  
==Example==  
{{Needs Example}}
{{Needs Example}}
==Requirements==
{{Requirements|n/a|1.5.7-9.20383|}}


==See Also==
==See Also==
{{Engine_functions}}
{{Engine_functions}}

Latest revision as of 17:21, 7 November 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.


See Also