local sp = require 'lib.samp.events'
razval = true
function sp.onServerMessage(color, text)
if razval == true then
if text:find("Warning") and not text:find('говорит') and not text:find('кричит') and not text:find('- |') then return false end
end
end
function main()
if not isSampfuncsLoaded() or not isSampLoaded() then return end
while not isSampAvailable() do wait(100) end
while true do
wait(0)
end
end