Installation Guide

Step 1: Run SQL Script

  1. Open your SQL database.

  2. 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

  1. Open your qb-core/shared/items.lua.

  2. Add the following items:


Step 3: Update player.lua

  1. Navigate to [qb] -> qb-core -> server -> player.lua.

  2. Add the following line inside the file


Last updated