here is error from logs/s_logs.lua
local r = getRealTime()
local timeString = ("%04d-%02d-%02d %02d:%02d:%02d"):format(r.year+1900, r.month + 1, r.monthday, r.hour,r.minute, r.second)
exports.mysql:lazyQuery("INSERT INTO `logtable` VALUES ('"..timeString.."', '".. exports.mysql:escape_string(actionStr) .."', '".. exports.mysql:escape_string(sourceStr).."', '".. exports.mysql:escape_string(affectedStr).."', '".. exports.mysql:escape_string(data).."')")
return true
end
here is error from vehicle-manager/vehicle-library/s_vehicle_library.lua
function refreshCarShop()
local theResource = getResourceFromName("carshop-system")
if theResource then
local hiddenAdmin = getElementData(client, "hiddenadmin")
if getResourceState(theResource) == "running" then
restartResource(theResource)
outputChatBox("Carshops were restarted.", client, 0, 255, 0)
if hiddenAdmin == 0 then
exports.global:sendMessageToAdmins("[VEHICLE MANAGER]" .. getPlayerName(client) .. " restarted the carshops.")
else
exports.global:sendMessageToAdmins("[VEHICLE MANAGER] A hidden admin restarted the carshops.")
end