local inicfg = require('inicfg')
local cfg = inicfg.load({
config =
{
cmd = 'abc'
}
}, "xz.ini")
function main()
repeat wait(0) until isSampAvailable()
sampRegisterChatCommand('cmd',function()
sampAddChatMessage(tostring(cfg.config.cmd),-1)
end)
wait(-1)
end