IsElementLowLOD: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Server client function}} {{New items|3.0120|1.2| '''Available only in MTA SA 1.2''' }} This function reveals if an element is low LOD. ==Syntax== <syntaxhighlight lang="lua"> bool ...")
 
No edit summary
Line 24: Line 24:
</syntaxhighlight>
</syntaxhighlight>
</section>
</section>
 
==Requirements==
{{Requirements|1.2|1.2}}
==See Also==
==See Also==
{{Element_functions}}
{{Element_functions}}

Revision as of 22:20, 6 December 2011

Available only in MTA SA 1.2 This function reveals if an element is low LOD.

Syntax

bool isLowLODElement ( element theElement )

Required Arguments

  • theElement: The element whose low LOD status we want to get.

Returns

Returns true if the element is low LOD, false otherwise.

Example

Click to collapse [-]
Serverside example

This example is not done yet:


Requirements

Minimum server version 1.2
Minimum client version 1.2

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 server="1.2" client="1.2" />

See Also