GetLowLODElement: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (fix oop syntax)
(Added Counterpart (setLowLODElement))
Line 8: Line 8:
element getLowLODElement ( element theElement )
element getLowLODElement ( element theElement )
</syntaxhighlight>
</syntaxhighlight>
{{OOP||[[element]]:getLowLOD|lowlod|}}  
{{OOP||[[element]]:getLowLOD|lowlod|setLowLODElement}}  


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

Revision as of 13:03, 6 August 2016

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

Before submitting check out Editing Guidelines Script Examples.


This function return the low LOD element that an element is associated with.

Syntax

element getLowLODElement ( element theElement )

OOP Syntax Help! I don't understand this!

Method: element:getLowLOD(...)
Variable: .lowlod
Counterpart: setLowLODElement


Required Arguments

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

Returns

Returns a low LOD element if successful, false otherwise.

Example

Click to collapse [-]
Serverside example

This example is not done yet:


Requirements

This template will be deleted.

See Also