Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(server): table identifying in QBCORE vehicles
  • Loading branch information
renzuzu committed Oct 4, 2021
1 parent 15e0e4c commit c4e6a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.lua
Expand Up @@ -26,7 +26,7 @@ AddEventHandler('renzu_vehicleshop:GetAvailableVehicle', function(shop)
Owned_Vehicle = QBCore.Shared.Vehicles
end
--TriggerClientEvent('table',-1,Owned_Vehicle)
if Owned_Vehicle[1] and not othershop then
if Config.framework == 'ESX' and Owned_Vehicle[1] and not othershop or Config.framework == 'QBCORE' and Owned_Vehicle and not othershop then
Owned_Vehicle = Owned_Vehicle
else
local shoplist = {}
Expand Down

0 comments on commit c4e6a5c

Please sign in to comment.