-
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Аниса edited this page Dec 13, 2022
·
37 revisions
- Head over to Assetify's Releases and install the latest build (If you haven't).
- Head over to DBify's Releases and download the latest build.
- Drag and drop the module folder into your
YourMTAFolder/server/mods/deathmatch/resources/[Library]/assetify_library/files/assets
after unzipping. - Head over to
assetify_library/files/assets/module/DBify_Library/dep/connection.lua
and modify your MySQL credentials.credentials = { username = "", password = "", database = "", host = "", port = "3306", options = "" }
- Add
-: "DBify_Library"
intoassetify_library/files/assets/module/manifest.vcl
. - restart
assetify_library
to load the module. - Presuming you have installed the library, this page guides you on how to get started with the library!
- Initialize DBify's module within the resource you want to use it as indicated below:
--Declare it globally only once in either of the server-sided `.lua` script of the resource loadstring(exports.assetify_library:import("scheduler"))() assetify.scheduler.execOnModuleLoad(function() assetify.loadModule("DBify_Library", {"shared", "server"}) end)
Head over to assetify_library/files/assets/module/DBify_Library/dep/connection.lua
and modify synchronization settings as per your requirements.
syncAccount = true
syncSerial = true
Head over to the sidebar (Modules) and select the module you want to view further more about.