SetElementDimension

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

This function allows you to set the dimension of any element. The dimension determines what/who the element is visible to.

Syntax

bool setElementDimension ( element theElement, int dimension )

Required Arguments

  • theElement: The element in which you'd like to set the dimension of.
  • dimension: An integer representing the dimension ID

Returns

Returns 'true' if 'theElement' and 'dimension' is valid, 'false' otherwise.

Example

Click to expand [+]
Server

See Also