Installation
Download the resource
Download the purchased resource from keymaster, FiveM's official hub for downloading purchased resources
Install Dependencies
ResourceDownload Linkox_inventory (v2.40.0+)
devm-bridge
Navigate to
ox_inventory/modules/shop
and drag the contents of our shops folder from_INSTALL FIRST/shops
to replace everything in that folderRun 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, '{}', '{}');
Install the following item into
ox_inventory/data/items.lua
['ebt_card'] = {
label = 'EBT Card',
server = {
export = 'devm-ebt.ebt_card'
}
},
Drag the ebt_card.png image from
_INSTALL FIRST
toox_inventory/web/images
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 inox_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