-
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Aviril edited this page Mar 7, 2024
·
25 revisions
- Head over to Assetify.library's releases and download the latest build.
- Drag and drop the [Library] folder into your
YourMTAFolder/server/mods/deathmatch/resources
after unzipping. - Head over to
assetify_library/settings/server.lua
&assetify_library/settings/shared.lua
and modify settings depending on your requirements & infrastructure. - Type
refresh
in the console to load the library. - Execute
aclrequest allow assetify_library all
in the console inorder to grant all mandatory rights to the library. - Setup Assetify.webserver as explained on its wiki.
- 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] - Presuming you have installed the library, this page guides you on how to get started with the framework!
- Initialize Assetify'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())()
--Optional: To import every module/features Assetify provides; Use the below mentioned
loadstring(exports.assetify_library:import("*"))()
-
Make sure to read our FAQs.
-
Head over to the sidebar (Assets) and select the asset-pack you want to view further more about.