Installation

  • Once you have set up the dependencies, all you have to do is upload the folder to the server.

This installation guide covers both ESX and QBCore/QBOX frameworks.

Resource
Source

ox_lib

Gabz Pacific Bank

Upload folder to your server

  • Upload folder to your server

Server.cfg

The server.cfg initialization order should be as follows.

start CORE
start ox_lib

-- # other resources

start 0r-heist-pacificbank

Localization

  • To change the preferred language from English, add the convar to your server.cfg and change en to the desired language code.

setr ox:locale en
  • Create a locales directory and a file for your language. And edit the content of locales/en.json in your own language and write it in there.

Items

  • It is written according to the itemName values specified in Config. You can change it. Do not forget to change it on both sides.

  • You have to put the pictures yourself.

  • Add items to ox_inventory/data/items.lua

['heist_hacklaptop'] = {
    label = 'Heist Hack Laptop',
    weight = 1500,
    stack = true,
},
['goldbar'] = {
    label = 'Gold Bar',
    weight = 1500,
    stack = true,
},
['money'] = {
    label = 'Money',
    weight = 1,
},
['rolex'] = {
    label = 'Rolex',
    weight = 500,
    stack = true,
},
['goldchain'] = {
    label = 'Gold Chain',
    weight = 500,
    stack = true,
},
['heist_drill'] = {
    label = 'Heist Drill',
    weight = 2000,
    client = {
        image = "heist_drill.png",
    },
},
['heist_drone'] = {
    label = 'Heist Drone',
    weight = 500,
    client = {
        image = "heist_drone.png",
    },
    close = true,
},

Last updated