Modules: Difference between revisions
Jump to navigation
Jump to search
m (→Modules SDK) |
(Rewritten some of the poor sentance structures.) |
||
Line 1: | Line 1: | ||
Modules are extensions for | 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 hereof are not distributed with Multi Theft Auto, and must be manually installed. | ||
== | ==Modules list== | ||
You can | You can view a list of all the documented modules in this wiki [[:Category:Modules|here]]. | ||
==Modules SDK== | ==Modules SDK== | ||
To be able to create your own | To be able to create your own modules, you must use the Modules SDK. You can download it from one of the links below - chose the appropriate one in accordance with your server's operating system. | ||
*[http://files.mtasa.com/apps/1.0/dm/ml_devkit.tar.gz | *[http://files.mtasa.com/apps/1.0/dm/ml_devkit.tar.gz Linux] | ||
*[http://wobzip.org/file/TANPP here] or [http://www.mediafire.com/?b8b3asgegn0xkm4 | *[http://wobzip.org/file/TANPP here] or [http://www.mediafire.com/?b8b3asgegn0xkm4 Microsoft Windows] | ||
===SDK functions=== | ===SDK functions=== |
Revision as of 20:47, 29 September 2012
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 hereof are not distributed with Multi Theft Auto, and must be manually installed.
Modules list
You can view a list of all the documented modules in this wiki 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 - chose the appropriate one in accordance with your server's operating system.
SDK functions
- Currently in there:
- Base:
- HelloWorld
- MySQL
- MySQLCreate
- MySQLOpen
- MySQLDestroy
- MySQLQuery
- MySQLSafeString
- Base: