Difference between revisions of "Modules"

From Multi Theft Auto: Wiki
m (SDK functions)
m (Modules SDK)
Line 11: Line 11:
  
 
===SDK functions===
 
===SDK functions===
Currently in there:
+
*Currently in there:
===Base===
+
**Base:
-HelloWorld
+
***HelloWorld
===MySQL===
+
**MySQL
-MySQLCreate
+
***MySQLCreate
-MySQLOpen
+
***MySQLOpen
-MySQLDestroy
+
***MySQLDestroy
-MySQLQuery
+
***MySQLQuery
-MySQLSafeString
+
***MySQLSafeString
  
  

Revision as of 21:51, 31 August 2012

Modules are extensions for MTA's lua to provide new external functions that aren't available in the self core. All modules listed here are not included with the MTA distributions and if you want to use them for your development, you must download and install them in your server.

Module listing

You can access the listing of all documented modules in this wiki in the following link: Category:Modules

Modules SDK

To be able to create your own module for MTA servers, you must make use of the Modules SDK. You can download it from:

SDK functions

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