Аче так сложно
local enb = false
function main()
if not isSampfuncsLoaded() or not isSampLoaded() then return end
while not isSampAvailable() do wait(100) end
sampRegisterChatCommand('test', function()
enb = not enb
sampAddChatMessage(enb and 'Активирован' or 'Деактивирован', -1)...