mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 18:28:52 +00:00
Put back onMySQLReady event
This commit is contained in:
+2
-2
@@ -33,7 +33,7 @@ function RemoveOwnedVehicle(plate)
|
||||
|
||||
end
|
||||
|
||||
-- AddEventHandler('onMySQLReady', function()
|
||||
AddEventHandler('onMySQLReady', function()
|
||||
|
||||
Categories = MySQL.Sync.fetchAll('SELECT * FROM vehicle_categories')
|
||||
local vehicles = MySQL.Sync.fetchAll('SELECT * FROM vehicles')
|
||||
@@ -52,7 +52,7 @@ end
|
||||
|
||||
end
|
||||
|
||||
-- end)
|
||||
end)
|
||||
|
||||
RegisterServerEvent('esx_vehicleshop:setVehicleOwned')
|
||||
AddEventHandler('esx_vehicleshop:setVehicleOwned', function(vehicleProps)
|
||||
|
||||
Reference in New Issue
Block a user