Element: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 2: Line 2:


An element is a generic class that represents almost all in-game items. These include:
An element is a generic class that represents almost all in-game items. These include:
* Players
* [[Element/Player|Players]]
* Vehicles
* [[Element/Vehicle|Vehicles]]
* Objects
* [[Element/Object|Objects]]
* Pickups
* [[Element/Pickup|Pickups]]
* Markers
* [[Element/Marker|Markers]]
* Colshapes
* [[Element/Collision shape|Collision shapes]]
* Blips
* [[Element/Blip|Blips]]
* Radar areas
* [[Element/Radar area|Radar areas]]
* Teams
* [[Element/Team|Teams]]
* Remote clients
* [[Element/Remote client|Remote clients]]
* Server console
* [[Element/Server console|Server console]]


These are all stored internally in a "tree" structure, as such every element has a parent element, be in the ''root'' element, ''map'' or another element. This is purely for declaring the scope of function calls.
These are all stored internally in a "tree" structure, as such every element has a parent element, be in the ''root'' element, ''map'' or another element. This is purely for declaring the scope of function calls.


There are various functions for manipulating the layout of this element tree.
There are various functions for manipulating the layout of this element tree.

Revision as of 03:36, 9 December 2006

Dialog-information.png This article needs checking.

Reason(s): All of the elements on this page should link to their description pageErorr404

An element is a generic class that represents almost all in-game items. These include:

These are all stored internally in a "tree" structure, as such every element has a parent element, be in the root element, map or another element. This is purely for declaring the scope of function calls.

There are various functions for manipulating the layout of this element tree.