1
[Codigo] ayuda error en start.lua Sáb Sep 19, 2020 4:14 pm
AmonGod

Miembro

tengo el siguente error:
![[Codigo] ayuda error en start.lua Error-start](https://i.ibb.co/thYGf9X/error-start.png)
y este es mi scrip start. lua
![[Codigo] ayuda error en start.lua Error-start](https://i.ibb.co/thYGf9X/error-start.png)
y este es mi scrip start. lua
- Código:
function onStartup()
db.executeQuery("UPDATE `players` SET `online` = 0 WHERE `world_id` = " .. getConfigValue('worldId') .. ";")
return true
end
db.executeQuery("DELETE FROM `guild_wars` WHERE `status` = 0 AND `begin` < " .. (os.time() - 2 * 86400) .. ";")
db.executeQuery("UPDATE `guild_wars` SET `status` = 5, `end` = " .. os.time() .. " WHERE `status` = 1 AND `end` > 0 AND `end` < " .. os.time() .. ";")
2 participantes