🛠️Installation
Item Installation
Metadata Installation
If you are using ox_inventory or most recent qb-inventory ignore this
} else if (itemData.name == "aviator_license") {
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html(
"<p><strong>Name: </strong><span>" +
itemData.info.name +
"</span></p><p><strong>Description: </strong><span>" +
itemData.info.description +
"</span></p>"
);
Database Installation
If you want jump this database installation you can active the option Config.AutoDatabase
on config.lua file.
CREATE TABLE IF NOT EXISTS `aviator_licenses` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`charid` varchar(50) NOT NULL,
`owner_name` varchar(50) NOT NULL,
`owner_licenses` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`owner_licenses`)),
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
Jobs Installation
If you are using ESX you can active the option Config.AutoDatabase
on config.lua file and the script run all correctly.
Last updated