๐ Garage
Access a comprehensive guide that includes a detailed installation process, examples of code, previews of configurations.
Garages use a different database than those from the Framework
INSTALLATION GUIDE
Step 0 - First Steps
Step 1 - Configure Resources
Step 2 - Import SQL
CREATE TABLE `is_garage` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`owner` longtext,
`model` varchar(50),
`hash` bigint(20),
`vin` varchar(50),
`plate` varchar(25),
`status` longtext,
`parked` longtext,
`fuel` int(11),
`engine` int(11),
`body` int(11),
`distance` float(10,2),
`mods` longtext,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
CREATE TABLE `is_garage_codes` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`type` varchar(100),
`code` varchar(100),
`package` int(11),
`count` int(11),
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
CREATE TABLE `is_garage_keys` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`identifier` varchar(100),
`name` varchar(100),
`vin` varchar(100),
`favorite` tinyint(1),
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
ALTER TABLE `is_garage` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=84;
ALTER TABLE `is_garage_codes` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
ALTER TABLE `is_garage_keys` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=66;
COMMIT;Step 3 - Tebex Integration
Step 4 - Package Integration
Step 5 - Converting Vehicles
Step 6 - Snippet for Vehicle Shops
QBCore
qb-vehicleshop -> client.lua
Search
Replace to
qb-vehicleshop -> server.lua
Search
Replace to
QBox
Go to qbx_vehicleshop/config/shared.lua and set finance.enable to false
qbx_vehicleshop -> server -> main.lua
Search
Replace to
Last updated