From 865f986e49ff009ff21920d11d632fb82a99d84a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20N=27gadi?= Date: Sat, 12 Aug 2017 14:20:31 +0200 Subject: [PATCH] Put back onMySQLReady event --- server/main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/main.lua b/server/main.lua index 83ef44ec..2c31860c 100644 --- a/server/main.lua +++ b/server/main.lua @@ -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)