SetElementParent: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Server function}}
{{Server client function}}
__NOTOC__  
__NOTOC__  
This function is used for setting an element as the parent of another element.
This function is used for setting an element as the parent of another element.

Revision as of 00:50, 3 November 2007

This function is used for setting an element as the parent of another element.

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

Click to expand [+]
Server

See Also