Modules: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:


===SDK functions===
===SDK functions===
The SDK functions explained.
Currently in there:
===Base===
-HelloWorld
===MySQL===
-MySQLCreate
-MySQLOpen
-MySQLDestroy
-MySQLQuery
-MySQLSafeString
 
 


[[Category:Scripting Concepts]]
[[Category:Scripting Concepts]]

Revision as of 21:50, 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