IsElementLowLOD: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Needs an Example)
m (fix oop syntax)
Line 8: Line 8:
bool isElementLowLOD ( element theElement )
bool isElementLowLOD ( element theElement )
</syntaxhighlight>  
</syntaxhighlight>  
{{OOP|This function is also a static function underneath the Element class.|[[element]]:isLowLOD||}}
{{OOP||[[element]]:isLowLOD||}}


===Required Arguments===  
===Required Arguments===  

Revision as of 03:28, 1 January 2015

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!

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