IsElementLowLOD: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (→‎Syntax: OOP)
Line 16: Line 16:


==Example==
==Example==
<section name="Serverside example" class="server" show="true">
This example is not done yet:
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
--Example Needed
</syntaxhighlight>


</syntaxhighlight>
</section>
==Requirements==
==Requirements==
{{Requirements|1.2|1.2}}
{{Requirements|1.2|1.2}}
==See Also==
==See Also==
{{Element_functions}}
{{Element_functions}}

Revision as of 16:30, 16 August 2014

This function reveals if an element is low LOD.

Syntax

bool isElementLowLOD ( element theElement )

OOP Syntax Help! I don't understand this!

Note: This function is also a static function underneath the Element class.
Method: element:isLowLOD(...)


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

--Example Needed

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