MTA Classes: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
(Undo revision 75614 by Absolwent (talk))
Tag: Undo
 
(22 intermediate revisions by 17 users not shown)
Line 1: Line 1:
[[File:Online.png|center|300px|link=http://gtao.pl/]]
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.
[[File:adventure.png|center|300px|link=http://yadventurerpg.pl/]]
[[File:Bonzo.png|center|300px]]
 
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.


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]].
Line 22: Line 18:
* [[connection|Connection]]
* [[connection|Connection]]
[[Category:Scripting Concepts]]
[[Category:Scripting Concepts]]
[[hu:MTA Classes]]
[[es:Clases MTA]]
[[es:Clases MTA]]
[[it:Classi di MTA]]
[[it:Classi di MTA]]
[[ru:Классы MTA]]
[[ru:Классы MTA]]

Latest revision as of 08:12, 24 October 2022

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: