Good,
Thanks to @jsfour we have managed to fix the gcphone with screenshot.
- Install this version of Screenshot-Basic ( GitHub - jonassvensson4/screenshot-basic: FiveM client screenshot resource - Imgur, crop options and headers support)
- GcPhone client.lua change lines 754-759 for:
exports['screenshot-basic']:requestScreenshotUpload(data.url, data.field,{
headers = {
['authorization'] = string.format('Client-ID %s', 'ID IMGUR'),
['content-type'] = 'multipart/form-data'
}
},function(data)
local resp = json.decode(data)
DestroyMobilePhone()
CellCamActivate(false, false)
cb(json.encode({ url = resp.data.link }))
PhonePlayAnim('text', false, true)
end)
- gcphone config.json lines 38-39 change for:
"fileUploadService_Url": "https://api.imgur.com/3/upload",
"fileUploadService_Field": "imgur",
- enjoy