MTA Classes: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
In order to perform operations on MTA objects via scripting, pointers to internal classes are exported to scripts as Lua userdata. Each of these classes has a number of exported scripting functions associated to them.
In order to perform operations on MTA objects via scripting, pointers to internal classes are exported to scripts as Lua userdata. Each of these classes has a number of exported scripting functions associated with them.


Elements that have a physical representation in the game are also known as [[entity|Entities]].
Elements that have a physical representation in the game are also known as [[entity|Entities]].

Revision as of 23:13, 10 April 2020

In order to perform operations on MTA objects via scripting, pointers to internal classes are exported to scripts as Lua userdata. Each of these classes has a number of exported scripting functions associated with them.

Elements that have a physical representation in the game are also known as Entities.

The complete list of classes to be found in scripts follows: