Modules: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Added modules list to this page, instead of redirecting to the other one.)
m (Added description)
Line 3: Line 3:
==Modules list==
==Modules list==
<!-- You can view a list of all the documented modules in this wiki [[:Category:Modules|here]]. -->
<!-- You can view a list of all the documented modules in this wiki [[:Category:Modules|here]]. -->
You can view a list of all the documented modules here:
{{ModulesList}}
{{ModulesList}}



Revision as of 08:55, 24 May 2022

Modules are extensions for Multi Theft Auto's Lua core, allowing the integration and use of custom Lua functions that have been written in C++, and compiled as a DLL or SO file. Modules are commonly used to create functions for such purposes that Multi Theft Auto lacks, such as sockets. All modules listed here are not distributed with Multi Theft Auto, and must be manually installed.

Modules list

You can view a list of all the documented modules here:

Modules SDK

To be able to create your own modules, you must use the Modules SDK. You can download it from one of the links below - choose a link in accordance with your server's operating system.

SDK Functions

  • Currently in there:
    • Base:
      • HelloWorld
    • MySQL
      • MySQLCreate
      • MySQLOpen
      • MySQLDestroy
      • MySQLQuery
      • MySQLSafeString