require ("lib.moonloader")
function main ()
if not isSampfuncsLoaded() or not isSampLoaded() then return end
while not isSampAvailable() do wait(100) end
while true do
wait(0)
if wasKeyPressed(VK_Z) then
local enabled = sampIsChatInputActive()
local chat =...