Installation Guide
Step 1: Run SQL Script
Open your SQL database.
Run the following script to create the necessary table:
CREATE TABLE `deliveries` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `citizen_id` VARCHAR(255) NOT NULL COLLATE 'latin1_swedish_ci', `firstname` VARCHAR(255) NOT NULL COLLATE 'latin1_swedish_ci', `lastname` VARCHAR(255) NOT NULL COLLATE 'latin1_swedish_ci', `delivery` INT(3) NOT NULL DEFAULT '0', `job` VARCHAR(255) NOT NULL COLLATE 'latin1_swedish_ci', PRIMARY KEY (`citizen_id`) USING BTREE, INDEX `id` (`id`) USING BTREE ) COLLATE='latin1_swedish_ci' ENGINE=InnoDB AUTO_INCREMENT=0;
Step 2: Add Items in items.lua
items.luaOpen your
qb-core/shared/items.lua.Add the following items:
Step 3: Update player.lua
player.luaNavigate to
[qb] -> qb-core -> server -> player.lua.Add the following line inside the file
Last updated