addEvent("accountTable",true)
addEventHandler("accountTable",root,
function (accountTable)
local rp = guiGridListAddRow (GUIEditor.gridlist[1])
guiGridListSetItemText (GUIEditor.gridlist[1],rp,1,accountTable(v),false,false)
end)
addEventHandler ( "onResourceStart",resourceRoot,
function ()
for k, v in ipairs (getAccounts()) do
local accountTable = getPlayerAccount ( v )
triggerClientEvent ( source , "accountTable", source , accountTable )
end
end
)