Modules: Difference between revisions

Jump to navigation Jump to search
31 bytes added ,  Friday at 05:24
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:Modules}}
{{DISPLAYTITLE:Modules}}
==Summary==
==Summary==
Modules are extensions that provide scripting resources and functionality that isn't provided in the default server. Modules also have the ability to include 3rd party libraries (such as MySQL).
Modules extend the server with things like MySQL, SQlite, ini, and things that aren't provided by default.  


==Module SDK==
==Module SDK==
The module SDK for GTA Connected is known as "GalacticC" ... It's a C library that provides all the necessary functions to create classes, namespaces, functions, and properties to use in your server resources.
The [https://gtaconnected.com/downloads/ModuleSDK.7z module SDK] for GTA Connected is known as "GalacticC" ... It's a C library that provides all the necessary functions to create classes, namespaces, functions, and properties to use in your server resources.


==How to Create==
==How to Create==
First, you'll need to either create the module source yourself or find one that already exists. Grab the [https://gtaconnected.com/downloads/ModuleSDK.7z module SDK], include the files in your project, compile, and if all goes well you should end up with a DLL file (Windows) or an SO file (Linux). See some [https://forum.gtaconnected.com/index.php?board=24.0 example modules here] (some with source).
Anybody with C/C++ skills can create a module using the module SDK. First, you'll need to either create the module source yourself or find one that already exists. Grab the [https://gtaconnected.com/downloads/ModuleSDK.7z module SDK], include the files in your project, compile, and if all goes well you should end up with a DLL file (Windows) or an SO file (Linux). See some [https://forum.gtaconnected.com/index.php?board=24.0 example modules here] (some with source).


==Use in Scripting==
==Use in Scripting==
2,813

edits

Navigation menu