function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
while true do
wait(0)
if select(1, sampGetChatString(99)):find("Screenshot Taken %- sa%-mp%-%d+%.png") and select(3, sampGetChatString(99)) == 4287146594 then
sampAddChatMessage("Скриншот", -1)
end
end
end