Sziasztok zero mod-ban nem akar a login zene működni
elméletileg itt van a probléma:
function resourceStart(resource)
setGameType(scriptVer)
setMapName(\"Zero City\")
setRuleValue(\"Script Version\", tostring(scriptVer))
setRuleValue(\"Author\", \"Zero Team\")
local motdresult = mysql:query_fetch_assoc(\"SELECT value FROM settings WHERE name=\'motd\' LIMIT 10000\")
exports[\'anticheat-system\']:changeProtectedElementDataEx(getRootElement(), \"account:motd\", motdresult[\"value\" ], false )
local amotdresult = mysql:query_fetch_assoc(\"SELECT value FROM settings WHERE name=\'amotd\' LIMIT 1\")
exports[\'anticheat-system\']:changeProtectedElementDataEx(getRootElement(), \"account:amotd\", amotdresult[\"value\" ], false )
for key, value in ipairs(exports.pool:getPoolElementsByType(\"player\")) do
triggerEvent(\"playerJoinResourceStart\", value, resource)
end
end
addEventHandler(\"onResourceStart\", getResourceRootElement(getThisResource()), resourceStart)