SetElementDimension: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
{{Server client function}}
{{Server client function}}
__NOTOC__
__NOTOC__
This function allows you to set the [[dimensions|dimension]] of any element. The dimension determines what/who the element is visible to.
This function allows you to set the [[dimension]] of any element. The dimension determines what/who the element is visible to.


==Syntax==
==Syntax==

Revision as of 17:28, 9 December 2007

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 are valid, false otherwise.

Example

Click to expand [+]
Server

See Also