SetElementParent: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool setElementParent ( element element, element parent )   
bool setElementParent ( element theElement, element parent )   
</syntaxhighlight>  
</syntaxhighlight>  


===Required Arguments===  
===Required Arguments===  
*'''argumentName:''' description
*'''theElement:''' The element that you wish to set the parent of.
 
*'''parent:''' The element you wish to be the parent of ''theElement''.
===Optional Arguments===
{{OptionalArg}}
*'''argumentName2:''' descriptiona
*'''argumentName3:''' description


===Returns===
===Returns===
Returns ''true'' if blah, ''false'' otherwise.
Returns ''true'' if both elements are valid, ''false'' otherwise.


==Example==  
==Example==  

Revision as of 09:52, 19 June 2006


This fake function is for use with blah & blah and does blahblahblabhalbhl

Syntax

bool setElementParent ( element theElement, element parent )  

Required Arguments

  • theElement: The element that you wish to set the parent of.
  • parent: The element you wish to be the parent of theElement.

Returns

Returns true if both elements are valid, false otherwise.

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo

See Also

Template:FunctionArea Functions