GetResourceDynamicElementRoot: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 7: Line 7:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
string getResourceDynamicElementRoot ( resource theResource )  
element getResourceDynamicElementRoot ( resource theResource )  
</syntaxhighlight>  
</syntaxhighlight>  



Revision as of 19:24, 23 June 2009

This function retrieves the dynamic element root of a specified resource.

Syntax

element getResourceDynamicElementRoot ( resource theResource ) 

Required Arguments

  • theResource: the resource of which dynamic element root we want.

Returns

Returns an element of the resource's dynamic element root if the resource specified was valid and active (currently running), false otherwise.

Example

--TODO

See Also