From aff4b06e5db9765094cf7c4868992287e06d3abf Mon Sep 17 00:00:00 2001 From: stolk88 <50120962+stolk88@users.noreply.github.com> Date: Fri, 7 Jan 2022 15:40:39 +0100 Subject: [PATCH] qb-vehicleshop cycles bug/fix When you swap to a cycle in the qb-vehicleshop the scipt can't find a brand --- shared/vehicles.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/shared/vehicles.lua b/shared/vehicles.lua index 6af082b..89c170a 100644 --- a/shared/vehicles.lua +++ b/shared/vehicles.lua @@ -320,6 +320,7 @@ QBShared.Vehicles = { --- Cycles ['bmx'] = { ['name'] = 'BMX', + ['brand'] = 'Bike', ['model'] = 'bmx', ['price'] = 160, ['category'] = 'cycles', @@ -328,6 +329,7 @@ QBShared.Vehicles = { }, ['cruiser'] = { ['name'] = 'Cruiser', + ['brand'] = 'Bike', ['model'] = 'cruiser', ['price'] = 510, ['category'] = 'cycles', @@ -336,6 +338,7 @@ QBShared.Vehicles = { }, ['fixter'] = { ['name'] = 'Fixter', + ['brand'] = 'Bike', ['model'] = 'fixter', ['price'] = 225, ['category'] = 'cycles', @@ -344,6 +347,7 @@ QBShared.Vehicles = { }, ['scorcher'] = { ['name'] = 'Scorcher', + ['brand'] = 'Bike', ['model'] = 'scorcher', ['price'] = 280, ['category'] = 'cycles', @@ -352,6 +356,7 @@ QBShared.Vehicles = { }, ['tribike'] = { ['name'] = 'Tri Bike', + ['brand'] = 'Bike', ['model'] = 'tribike', ['price'] = 500, ['category'] = 'cycles', @@ -360,6 +365,7 @@ QBShared.Vehicles = { }, ['tribike2'] = { ['name'] = 'Tri Bike 2', + ['brand'] = 'Bike', ['model'] = 'tribike2', ['price'] = 700, ['category'] = 'cycles', @@ -368,6 +374,7 @@ QBShared.Vehicles = { }, ['tribike3'] = { ['name'] = 'Tri Bike 3', + ['brand'] = 'Bike', ['model'] = 'tribike3', ['price'] = 520, ['category'] = 'cycles', @@ -4011,4 +4018,4 @@ QBShared.Vehicles = { ['hash'] = `warrener2`, ['shop'] = 'pdm', }, -} \ No newline at end of file +}