fmLib
Installation
Get started using fmLib within your resources.
Installation
Download the latest release from the releases page.
Extract the archive into your resources folder.
Add ensure fmLib to your server.cfg.
Make sure to add ensure fmLib before all resources depending on fmLib.
Make sure to add ensure fmLib after all wrapped resources that you want to use fmLib with (such as ESX, QBCore, Inventories etc..).
Restart your server.
Usage
Here we create a new instance of fmLib within a script file and utilize the console module.
main.lua
FM = exports['fmLib']:new()
FM.console.success("fmLib loaded successfully in "..GetCurrentResourceName().."!")