Skip to content
Aviril edited this page Mar 7, 2024 · 25 revisions

━ How to get started?

  1. Head over to Assetify.library's releases and download the latest build.
  2. Drag and drop the [Library] folder into your YourMTAFolder/server/mods/deathmatch/resources after unzipping.
  3. Head over to assetify_library/settings/server.lua & assetify_library/settings/shared.lua and modify settings depending on your requirements & infrastructure.
  4. Type refresh in the console to load the library.
  5. Execute aclrequest allow assetify_library all in the console inorder to grant all mandatory rights to the library.
  6. Setup Assetify.webserver as explained on its wiki.
  7. Type start assetify_library in the console and the library shall be successfully started. [Note: Make sure this library should be started prior to scripts using it]
  8. Presuming you have installed the library, this page guides you on how to get started with the framework!
  9. Initialize Assetify's module within the resource you want to use it.

━ How to Initialize the Module?

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())()

--Optional: To import every module/features Assetify provides; Use the below mentioned
loadstring(exports.assetify_library:import("*"))()

━ How to setup Assets?

  • Make sure to read our FAQs.

  • Head over to the sidebar (Assets) and select the asset-pack you want to view further more about.