Installation

Install Instructions

Automatic SQL Injection

No need to import (sf_storage.sql) to your database, it will automatically create and setup the necessary database table for you if it doesn't exist already.

Step 1: Install Dependencies

latest release version of oxmysql
latest release version of ox_lib

Step 2: Add Item

This item require to add if you enable item check in config file

config.lua
ox_inventory
-- Add items into ox_inventory/data/items.lua
['police_stormram'] = {
    label = 'Stormram',
    weight = 5000,
},
qb-inventory
-- Add items into qb-core/shared/items.lua
police_stormram = { 
    name = 'police_stormram', 
    label = 'Stormram', 
    weight = 5000, 
    type = 'item', 
    image = 'police_stormram.png', 
    unique = true, 
    useable = false, 
    shouldClose = true, 
    combinable = nil, 
    description = 'A nice tool to break into doors' 
}

Step 3: Add Image

Also this image require to add if the item added

ox_inventory

unzip and drop the image inside ox_inventory/web/images folder.

qb-inventory

unzip and drop the image inside qb-inventory/html/images folder.

Step 4: Setup Config

This step only go to config.lua file and start setup, everything explained there

Step 5: Ensure Resource

This is last step and is easier, just drag and drop the folder 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 command ensure sf_storageunits.

Last updated

Was this helpful?