local WebHook ='https://api.fivemerr.com/v1/media/images' -- Enter the API URL herelocal WebHookKey ='WEBHOOKKEY' -- Add this new var containing your API Key
On line 585/586 locate and find the following callback registration event
QBCore.Functions.CreateCallback('qb-phone:server:GetWebhook', function(_,cb)if WebHook ~='' then cb(WebHook)else print('Set your webhook to ensure that your camera will work!!!!!! Set this on line 10 of the server sided script!!!!!')
cb(nil)endend)
Found it? Great!
Now replace it to this:
QBCore.Functions.CreateCallback('qb-phone:server:GetWebhook', function(_,cb)if WebHook ~='' then cb(WebHook, WebHookKey)else print('Set your webhook to ensure that your camera will work!!!!!! Set this on line 10 of the server sided script!!!!!')
cb(nil)endend)
Client File Change
Navigate to qb-phone/main/client/main.lua
Search for exports['screenshot-basic']:requestScreenshotUpload within this file