Getting Started
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
To get started, instantiate fmLib in your script:
FM = exports['fmLib']:new()
Example Usage
Here we instantiate fmLib and use it to work with the console module.
FM = exports['fmLib']:new()
FM.console.success("fmLib loaded successfully in "..GetCurrentResourceName().."!")
Last updated
Was this helpful?