Element data

From Multi Theft Auto: Wiki
Revision as of 12:16, 25 May 2006 by EAi (talk | contribs)
Jump to navigation Jump to search

Each element that is loaded is able to have element data values attached to it. These are values that can be accessed using a keyword string and directly correspond to the element's attributes in the map file. Element data is a good way to store information you want associated with an element, for example you could use it to associate a score with a player, or a team with a vehicle.

Relevant functions