GetLowLODElement: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 2: Line 2:
{{Server client function}}
{{Server client function}}
This function return the low LOD element that an element is associated with.
This function return the low LOD element that an element is associated with.
{{Note|This function doesn't appear to work client side if LOD is set server side.}}


==Syntax==
==Syntax==

Revision as of 13:53, 9 April 2013

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

[[{{{image}}}|link=|]] Note: This function doesn't appear to work client side if LOD is set server side.

Syntax

element getLowLODElement ( element theElement )

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

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