HU/MTA Classes: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
The complete list of classes to be found in scripts follows:
The complete list of classes to be found in scripts follows:


* [[account|Account]]
* [[HU/account|Account]]
* [[acl|ACL]]
* [[HU/acl|ACL]]
* [[aclgroup|ACL group]]
* [[HU/aclgroup|ACL group]]
* [[Ban]]
* [[HU/Ban]]
* [[element|Element]]
* [[HU/element|Element]]
<ul>{{Elements hu}}</ul>
<ul>{{Elements hu}}</ul>
* [[resource|Resource]]
* [[HU/resource|Resource]]
* [[textdisplay|Text display]]
* [[HU/textdisplay|Text display]]
* [[textitem|Text item]]
* [[HU/textitem|Text item]]
* [[timer|Timer]]
* [[HU/timer|Timer]]
* [[xmlnode|XML node]]
* [[HU/xmlnode|XML node]]
* [[connection|Connection]]
* [[HU/connection|Connection]]
[[Category:Scripting Concepts]]
[[Category:Scripting Concepts]]



Revision as of 09:42, 26 October 2018

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 Entities.

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