This commit is contained in:
2026-07-07 21:08:52 +02:00
commit 4c20cfc716
2613 changed files with 318021 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
/*
Only for ESX with "limit" for items
For QBCore check documentation
*/
INSERT IGNORE `items` (`name`, `label`, `limit`, `rare`, `can_remove`) VALUES
('fixkit', 'Fix kit', 100, 0, 1),
('medikit', 'Medikit', 100, 0, 1),
('sponge', 'Sponge', 100, 0, 1),
('handcuffs', 'Handcuffs', 100, 0, 1),
('lockpick', 'Lockpick', 100, 0, 1),
('bandage', 'Bandage', 100, 0, 1);

View File

@@ -0,0 +1,12 @@
/*
Only for ESX with "weight" for items
For QBCore check documentation
*/
INSERT IGNORE `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('fixkit', 'Fix kit', 1, 0, 1),
('medikit', 'Medikit', 1, 0, 1),
('sponge', 'Sponge', 1, 0, 1),
('handcuffs', 'Handcuffs', 1, 0, 1),
('lockpick', 'Lockpick', 1, 0, 1),
('bandage', 'Bandage', 1, 0, 1);

View File

@@ -0,0 +1 @@
ALTER TABLE job_grades MODIFY COLUMN id INT auto_increment;

View File

@@ -0,0 +1,12 @@
CREATE TABLE IF NOT EXISTS `job_grades` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`job_name` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
`grade` INT(11) NOT NULL,
`name` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci',
`label` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci',
`salary` INT(11) NOT NULL,
`skin_male` longtext NOT NULL,
`skin_female` longtext NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `id` (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

View File

@@ -0,0 +1,10 @@
CREATE TABLE IF NOT EXISTS `job_grades` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`job_name` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
`grade` INT(11) NOT NULL,
`name` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci',
`label` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci',
`salary` INT(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `id` (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

View File

@@ -0,0 +1,24 @@
CREATE TABLE IF NOT EXISTS `jobs` (
`name` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci',
`label` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
`whitelisted` INT(1) NOT NULL DEFAULT '0',
`enable_billing` INT(1) NULL DEFAULT '0',
`can_rob` INT(1) NULL DEFAULT '0',
`can_handcuff` INT(1) NULL DEFAULT '0',
`can_lockpick_cars` INT(1) NULL DEFAULT '0',
`can_wash_vehicles` INT(1) NULL DEFAULT '0',
`can_repair_vehicles` INT(1) NULL DEFAULT '0',
`can_impound_vehicles` INT(1) NULL DEFAULT '0',
`can_check_identity` INT(1) NULL DEFAULT '0',
`can_check_vehicle_owner` INT(1) NULL DEFAULT '0',
`can_check_driving_license` INT(1) NULL DEFAULT '0',
`can_check_weapon_license` INT(1) NULL DEFAULT '0',
`can_heal` INT(1) NULL DEFAULT '0',
`can_revive` INT(1) NULL DEFAULT '0',
`actions_menu_enabled` INT(1) NULL DEFAULT '1',
`placeable_objects` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb4_bin',
PRIMARY KEY (`name`) USING BTREE
)
COLLATE='utf8mb4_general_ci'
ENGINE=InnoDB
;

View File

@@ -0,0 +1,11 @@
CREATE TABLE IF NOT EXISTS `jobs_armories` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`weapon` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci',
`components` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb4_bin',
`ammo` INT(10) UNSIGNED NOT NULL,
`tint` INT(11) NOT NULL,
`marker_id` INT(11) NOT NULL,
`identifier` VARCHAR(80) NOT NULL COLLATE 'utf8mb4_general_ci',
PRIMARY KEY (`id`) USING BTREE,
INDEX `id` (`id`, `marker_id`, `identifier`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

View File

@@ -0,0 +1,37 @@
CREATE TABLE IF NOT EXISTS `jobs_data` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`job_name` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci',
`type` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci',
`coords` VARCHAR(300) NOT NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
`grades_type` VARCHAR(20) DEFAULT NULL,
`specific_grades` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb4_bin',
`min_grade` SMALLINT(6) NULL DEFAULT NULL,
`data` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb4_bin',
`blip_id` INT(11) NULL DEFAULT NULL,
`blip_color` INT(11) NULL DEFAULT '0',
`blip_scale` FLOAT(12) NULL DEFAULT '1',
`label` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
`marker_type` INT(11) NULL DEFAULT '1',
`marker_scale_x` FLOAT(12) NULL DEFAULT '1.5',
`marker_scale_y` FLOAT(12) NULL DEFAULT '1.5',
`marker_scale_z` FLOAT(12) NULL DEFAULT '0.5',
`marker_color_red` INT(3) NULL DEFAULT '150',
`marker_color_green` INT(3) NULL DEFAULT '150',
`marker_color_blue` INT(3) NULL DEFAULT '0',
`marker_color_alpha` INT(3) NULL DEFAULT '50',
`ped` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
`ped_heading` FLOAT(12) NULL DEFAULT NULL,
`object` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
`object_heading` FLOAT(12) NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

View File

@@ -0,0 +1,2 @@
ALTER TABLE `jobs_data`
MODIFY COLUMN `specific_grades` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb4_bin';

View File

@@ -0,0 +1,7 @@
CREATE TABLE IF NOT EXISTS `jobs_employee_hours` (
`job_name` VARCHAR(50) NOT NULL,
`char_identifier` VARCHAR(100) NOT NULL,
`total_minutes` INT(11) NOT NULL DEFAULT '0',
`date` DATE NOT NULL,
PRIMARY KEY (`job_name`, `char_identifier`, `date`)
) ENGINE=InnoDB;

View File

@@ -0,0 +1,10 @@
CREATE TABLE IF NOT EXISTS `jobs_garages` (
`vehicle_id` INT(11) NOT NULL AUTO_INCREMENT,
`identifier` VARCHAR(100) NOT NULL COLLATE 'utf8mb4_general_ci',
`marker_id` INT(11) NOT NULL,
`vehicle` VARCHAR(50) NOT NULL DEFAULT '' COLLATE 'utf8mb4_bin',
`vehicle_props` LONGTEXT NOT NULL COLLATE 'utf8mb4_bin',
`plate` VARCHAR(10) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
PRIMARY KEY (`vehicle_id`) USING BTREE,
INDEX `identifier` (`identifier`, `marker_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

View File

@@ -0,0 +1,11 @@
CREATE TABLE IF NOT EXISTS `jobs_shops` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`marker_id` INT(11) NOT NULL,
`item_name` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci',
`item_type` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci',
`item_quantity` INT(11) NOT NULL,
`price` INT(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `marker_id` (`marker_id`) USING BTREE,
INDEX `id` (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

View File

@@ -0,0 +1,10 @@
CREATE TABLE IF NOT EXISTS `jobs_wardrobes` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`identifier` VARCHAR(100) NOT NULL COLLATE 'utf8mb4_general_ci',
`label` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci',
`outfit` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb4_bin',
PRIMARY KEY (`id`) USING BTREE,
INDEX `identifier` (`identifier`) USING BTREE
)
COLLATE='utf8mb4_general_ci'
ENGINE=INNODB;