Installation
The installation its easier and simple
Automatic SQL Injection
In the sf_pearls/!install directory, you'll find a file called data_pearls.sql. There's no need to manually import this into your database. When you launch your server (or just the resource), it will automatically generate and configure the required database table if it hasn't already been created.
Step 1: Install Dependencies
Don't forget to install sf_lib and sf_pearls_assets, which is included with the script upon purchase.
Step 2: Setup Framework
Go to sf_lib/Config.lua and config your framework, its auto detect so if your resource core folder is default no need to do that.
Step 3: Add items list and images to inventory
In the sf_pearls/!install directory, you will find images inventory and items list.
Step 4: Only for qb-inventory v2 users
Required to add this function in qb-inventory/server/functions.lua in bottom file.
local function ClearInventoryStash(identifier)
local inventory = Inventories[identifier]
if not inventory then return end
inventory.items = {}
inventory.isOpen = false
end
exports('ClearInventoryStash', ClearInventoryStash)
Step 5: Setup Config
Go to sf_pearls/config.lua file and start setup, everything explained there.
Last Step: Ensure Resource
After download scripts and setup your config, drag and drop the folders into your main resources, if folder you drag him is inside sub folder and this sub folder already started everything ok, if not need to go server.cfj and add this commands:
ensure sf_lib
ensure sf_pearls_assets
ensure sf_pearls
Last updated
Was this helpful?