require "lib.moonloader"
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
sampRegisterChatCommand("hui", nevidimka)
wait(-1)
end
function nevidimka()
lua_thread.create(function()
sampSendChat("/me надел плащ невидимку")
wait(1000)
sampProcessChatInput('/q')
end)
end