вроде как то так
require('lib.moonloader')
local id
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
sampRegisterChatCommand('zapomni', zapomni)
end
function zapomni(arg)
id = arg
end