https://imgur.com/SL3e1rL Ai Está, Tento Ver A Lista De VIPs, E Acontece Esse Erro No DebugScript 3
aqui o trecho do script:
addEvent( "getVipList", true )
addEventHandler( "getVipList", resourceRoot,
function(staff)
staff = staff or client
local vipList = executeSQLQuery("SELECT * FROM VIPS")
for _, row in ipairs(vipList) do
local inicio = getRealTime(row.inicio)
local termino = getRealTime(row.termino)
row.nick = row.nick:gsub("#%x%x%x%x%x%x", "")
row.type = row.type
row.staff = row.staff:gsub("#%x%x%x%x%x%x", "")
row.inicio = string.format ( "%02d/%02d/%d", inicio.monthday, inicio.month +1, inicio.year +1900)
row.tempo = secondsToTimeDesc(row.termino - getRealTime().timestamp)
row.termino = string.format ( "%02d/%02d/%d", termino.monthday, termino.month +1, termino.year +1900)
ESSA LINHA É A 246 QUE MOSTRA NO DEBUGSCRIPT: -> row.termino = string.format ( "%02d/%02d/%d", termino.monthday, termino.month +1, termino.year +1900)