diff --git a/resources/[carscripts]/mh_garage/server/server.lua b/resources/[carscripts]/mh_garage/server/server.lua index 89200899a..4900fd981 100644 --- a/resources/[carscripts]/mh_garage/server/server.lua +++ b/resources/[carscripts]/mh_garage/server/server.lua @@ -3,8 +3,7 @@ local test_vari = {} RegisterServerEvent('mh_garage:setMods') AddEventHandler('mh_garage:setMods', function(mods) - print(json.encode(mods)) - if test_vari ~= nil then + if test_vari then for k, v in pairs(test_vari) do if v.plate ~= mods.plate then MySQL.query("SELECT * FROM player_vehicles WHERE plate = ?", {mods.plate}, function(rs)