ThymonA / TigoAntiCheat

A resource that detects different types of cheating
https://forum.cfx.re/t/release-tigoanticheat-fivem-anticheat-made-by-tigo-vpn-blokker/996655
MIT License
50 stars 40 forks source link

Client Screenshot on Injection Menu Key Combination #24

Open Avanae opened 4 years ago

Avanae commented 4 years ago

FiveM allows one to take screenshots of a client. When a key combination for a cheat menu is pressed first take a screenshot of client and make it wait a good amount of time for the client to actually open the menu before a screenshot is taken with Citizen.Wait(5000), after screenshot is taken, autoban. That way you can get the client screenshot, and probably capture the Cheat Menu open, and it's definite proof in case of a ban appeal. https://forum.cfx.re/t/api-dev-resource-screenshot-basic-make-screenshots-of-clients-games/234165

ThymonA commented 4 years ago

This is a good idea, will see if this can be realized in the near future

adamshcao commented 4 years ago
local CLIENT_ID = 'INSERT HERE'
            exports['screenshot-basic']:requestScreenshotUpload('https://api.imgur.com/3/upload', 'imgur', {
                headers = {
                ['authorization'] = string.format('Client-ID %s', CLIENT_ID),
                ['content-type'] = 'multipart/form-data'
              }
            }, function(data)
              local resp = json.decode(data)
              --SEND LINK (resp.data.link) WITH CODE HERE
            end)
            Citizen.Wait(5000)