For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation Guide OX Inventory

1

Install resource from Portal

After installing, you should get a zip file with the name shown below.

  • cdev_cOne.pack.zip

2

Create the folder and extract the zip inside it.

➤ Step 1: Create the cdev_cOne folder.

➤ Step 2: Extract the contents of cdev_cOne.pack.zip into the cdev_cOne folder.

3

Server.cfg Configuration

This resource must always be started after your framework and any other required resources.

It is essential to follow the correct startup order to ensure proper functionality and avoid conflicts.

Below is an example screenshot showing the recommended startup order:

4

Cdev_cOne Configuration

🚩 To work correctly, cdev_cOne requires the proper configuration of the inventory in the config.lua file located in the cdev_cOne > public > shared folder. Below is how the file should be configured to ensure everything functions properly.

5

Setup Item and Images inside Ox Inventory

Step One

Add images to ox_inventory/web/images Images are available in the cdev_cOne > images folder of this resource.

Step Two

Add item to ox_inventory/data/items.lua like listed bellow.

["conedeck"] = {
	label = "cOne Deck",
	weight = 100,
	consume = 1,
	stack = true,
	close = true,
	client = {
		image = "conedeck.png",
		export = "cdev_cOne.createTableOXItem",
	}
},
6

7

Using the card cOne Deck in-game

Last updated