Try something like that,
If you want to saves the memo even the resource restarted,you need to use either SQL, MySQL or XML.
--client side:
window= guiCreateWindow(264, 189, 355, 294, "", false)
guiWindowSetSizable(window, false)
memo = guiCreateMemo(14, 25, 331, 259, "", false, window)
guiSetVisible(window,false)
client = getLocalPlayer()
function editMemo()
guiSetText ( memo, "" )
triggerServerEvent ("memoEditable",client)
end
--server side:
addEvent( "memoEditable", true )
addEventHandler("memoEditable", root,
function ()
local account = getPlayerAccount(player)
if not account or isGuestAccount(account) then return end
local accountName = getAccountName(account)
for k,v in ipairs ( { "Console","Owner" } ) do --You can change them by your ACL Admin names
if isObjectInACLGroup ( "user." .. accountName, aclGetGroup (v) ) then
end
end
end)