Installation

  1. Download the purchased resource from keymaster - the official site of fivem with purchased resources.

  2. Unzip the g-job-vehicle-shop

  3. Create a Folder - In your resources directory, create a new folder and name it [g-scripts]if it has not already been created.

  4. Drag g-job-vehicle-shop in to [g-scripts]

Arrangement

Add this line in your server.cfg file

ensure [g-scripts]

Requirements

Database Sql

CREATE TABLE `g_ownable_vehicles` (
	`id` INT(11) NOT NULL AUTO_INCREMENT,
	`identifier` VARCHAR(46) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
	`name` VARCHAR(255) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
	`plate` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
	`date` DATE NULL DEFAULT NULL,
	`job` VARCHAR(255) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
	`grade` VARCHAR(255) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
	PRIMARY KEY (`id`) USING BTREE
)
COLLATE='utf8mb4_general_ci'
ENGINE=InnoDB
AUTO_INCREMENT=84
;

Items

qb-inventory item
veh_mangement_tablet = {
    name = "veh_mangement_tablet",
    label = "Veh Management Tablet",
    weight = 300,
    type = "item",
    image = "veh_mangement_tablet.png",
    unique = true,
    useable = true,
    shouldClose = true,
    description = "Job vehicle management tablet"
}
ox_inventory item
["veh_mangement_tablet"] = {
		label = "Veh Management Tablet",
		weight = 100,
		stack = false,
		close = true,
		description = "A tablet for managing jobs vehicles.",
}

Last updated