The S Project
  • Casino Heist Docs
  • Standalone
    • Getting Started
    • Config
    • Standalone Function
  • Esx
    • Getting Started
    • Config
  • QBCore
    • Getting Started
    • Config
Powered by GitBook
On this page
  1. QBCore

Config

Change the framework, corename and inventory

--** Framework **--
-- I suggest you to take a look at checks_server.lua, checks_client.lua
Config.Framework = "QB" -- STANDALONE, ESX, QB
Config.CoreName = "qb-core" -- STANDALONE, "es_extended", "qb-core"
-------------------

--- Change to your inventory name.
Config.Inventory = "qb-inventory" -- esx [regular/ox-inventory]- qbcore [qb-inventory/ox-inventory]

-- Debug Mode --
Config.debug = false

Make sure the server game build is above 2060

if you have ox-inventoy add the images and items:

Images can be found here: [casinoheist]\s-casinoheist\images And can be put here: ox_inventory\web\images

-- note -- most people have these items already just add the pictures!
	["laptop"] = {
		label = "Beep-Boop Machine",
		weight = 100,
		stack = true,
		close = true,
		description = "",
		client = {
			image = "laptop.png",
		}
	},

	["security_card_01"] = {
		label = "Permission Granted (Maybe)",
		weight = 100,
		stack = true,
		close = true,
		description = "",
		client = {
			image = "security_card_01.png",
		}
	},

	["security_card_02"] = {
		label = "Permission Granted (Maybe)",
		weight = 100,
		stack = true,
		close = true,
		description = "",
		client = {
			image = "security_card_02.png",
		}
	},
	
	["thermite"] = {
		label = "Hot Stuff",
		weight = 100,
		stack = true,
		close = true,
		description = "",
		client = {
			image = "thermite.png",
		}
	},

	["trojan_usb"] = {
		label = "Virus on a Stick",
		weight = 100,
		stack = true,
		close = true,
		description = "",
		client = {
			image = "usb_device.png",
		}
	},

	["diamond"] = {
		label = "Diamond",
		weight = 1,
		stack = true,
		close = true,
		client = {
			image = "diamond.png",
		}
	},
	
	["goldbar"] = {
		label = "Gold Bar",
		weight = 1,
		stack = true,
		close = true,
		client = {
			image = "goldbar.png",
		}
	},
PreviousGetting Started

Last updated 4 months ago