Installation

  1. Download the resource

    • Download the purchased resource from keymaster, FiveM's official hub for downloading purchased resources

  2. Install Dependencies

  3. Navigate to ox_inventory/modules/shop and drag the contents of our shops folder from _INSTALL FIRST/shops to replace everything in that folder

  4. Run the following sql file which can also be found in _INSTALL FIRST

CREATE TABLE `ebt_applications` (
	`identifier` VARCHAR(50) NOT NULL COLLATE 'utf8mb3_general_ci',
	`applied_at` TIMESTAMP NULL DEFAULT current_timestamp(),
	PRIMARY KEY (`identifier`) USING BTREE
)
COLLATE='utf8mb3_general_ci'
ENGINE=InnoDB
;
INSERT INTO `job_grades` (`id`, `job_name`, `grade`, `name`, `label`, `salary`, `skin_male`, `skin_female`) VALUES (41, 'socialworker', 0, 'worker', 'Support', 0, '{}', '{}');
  1. Install the following item into ox_inventory/data/items.lua

['ebt_card'] = {
	label = 'EBT Card',
	server = {
		export = 'devm-ebt.ebt_card'
	}
},
  1. Drag the ebt_card.png image from _INSTALL FIRST to ox_inventory/web/images

  2. You have now installed the EBT Card script. To make an item eligible to be purchased with an EBT card, put ebt = true under the item in ox_inventory/data/items.lua like this

['burger'] = {
	label = 'Burger',
	weight = 220,
	ebt = true, -- add this 
	client = {
		status = { hunger = 200000 },
		anim = 'eating',
		prop = 'burger',
		usetime = 2500,
		notification = 'You ate a delicious burger'
	},
},

Last updated