Skip to content

Commit

Permalink
Update config.lua
Browse files Browse the repository at this point in the history
Fixed 'nil value (local 'mods')' and added qb/qbx exports
  • Loading branch information
s4t4n667 authored Jan 5, 2025
1 parent a25da25 commit 887c8d9
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ return {
gradeRequired = 5,

vehicles = {
{model = 'police', label = 'Police Cruiser', icon = 'circle', iconColor = '#7a5f15'}
{model = 'police', label = 'Police Cruiser', icon = 'circle', iconColor = '#7a5f15', mods = {livery = 1, extras = {{id = 1, disabled = false}, {id = 2, disabled = true}}}}
}
}

Expand Down Expand Up @@ -93,7 +93,7 @@ return {
gradeRequired = 5,

vehicles = {
{model = 'police', label = 'Police Cruiser', icon = 'circle', iconColor = '#7a5f15'}
{model = 'police', label = 'Police Cruiser', icon = 'circle', iconColor = '#7a5f15', mods = {livery = 1, extras = {{id = 1, disabled = false}, {id = 2, disabled = true}}}}
}
}

Expand All @@ -108,11 +108,17 @@ return {
giveVehicleKeys = function(entity, plate)
-- Wasabi Carlock
-- exports.wasabi_carlock:GiveKey(plate)

-- qb/qbx_vehiclekeys
-- TriggerEvent("vehiclekeys:client:SetOwner", plate)
end,

removeVehicleKeys = function(entity, plate)
-- Wasabi Carlock
-- exports.wasabi_carlock:RemoveKey(plate)

-- qb/qbx_vehiclekeys
-- TriggerEvent("vehiclekeys:client:RemoveOwner", plate)
end,

}
}

0 comments on commit 887c8d9

Please sign in to comment.