--Pupsen_Vupsin[15]:{FFCD00} 12 чит.
local q = require 'lib.samp.events'
local reasons = {'чит', 'аим', 'дм'}
function main()
repeat wait(0) until isSampAvailable()
wait(-1)
end
function q.onServerMessage(clr, str)
for _, i in pairs(reasons) do
if str:find('.*%[(%d+)%]:{%x+} (%d+) '..i) then
local fromId, reportId = str:match('.*%[(%d+)%]:{%x+} (%d+) '..i)
lua_thread.create(function(fId, rId)
sampSendChat('/ans '..fId..' Накажут.')
wait(1000)
sampSendChat('/recon '..rId)
end, fromId, reportId)
break
end
end
end