-
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Aviril edited this page Mar 7, 2024
·
37 revisions
- Head over to Assetify.library's releases and download the latest build.
- Head over to DBify.library'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.
Add the below code once in either of the shared .lua
script of the resource you want to use within:
--Declare it globally only once
loadstring(exports.assetify_library:import("scheduler"))()
assetify.scheduler.execOnModuleLoad(function()
assetify.loadModule("DBify_Library", {"shared", "server"})
end)
Head over to the sidebar (Modules) and select the module you want to view further more about.