IsElementLowLOD: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Needs an Example)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Server client function}}
{{Server client function}}
{{Needs_Example}}
This function reveals if an element is low LOD.
This function reveals if an element is low LOD.



Revision as of 16:31, 16 August 2014

Accessories-text-editor.png Script Example Missing Function IsElementLowLOD needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.

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