SetElementParent

From Multi Theft Auto: Wiki
Revision as of 12:36, 12 August 2007 by AlienX (talk | contribs)
Jump to navigation Jump to search

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