EngineResetModelLODDistance

From Multi Theft Auto: Wiki

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

TODO

Requirements

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

Note: Using this function/event 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

BETA: FROM VERSION 1.5.8 r20704 ONWARDS