thanks i do it
do you know how i would do to separate the images example images from twitter on the webhook from twitter direct message on the separate webhook?
thanks i do it
do you know how i would do to separate the images example images from twitter on the webhook from twitter direct message on the separate webhook?
I mean i have setup the twitter to send to a discord webhook for tweets… however i have never known that you could use these webhooks to actually retrieve images taken in game to put IN your tweets… trying this now!
you mean that you want to create logs for only twitter messages in a different webhook ?
you can leave it, I already got it, just put the webhook link on the server side on twitter.lua line 284 I realized that when restarting the server and deleting the cache folder the screenshot or whatever it is bug
if you want to clear cache go inside cache folder and delete everything expect screenshot-basic and yarn cache
I don’t understand how u get it work…
no matter how many times I try, and in different ways ( imgur, image server host or webhook) i’ve always got at the end :
no such export requestscreenshotupload screenshot_basic F8 error
I must be missing something but what … ??
Same error, It just freeze when I open camera, I can only go back with right mouse click, any fix? thanks
How to make your twitter like this? thanks
Have you solved it?
ur the goat man thanksssss
How did u made it work plz share <3
Let me share how I went from mistake to success
First make sure to install “yarn” and “webpack” and “screenshot-basic”
If you don’t have “yarn” and “webpack”, download the latest “cfx-server-data”
“GitHub - citizenfx/cfx-server-data: Data repository for CitizenFX servers.”
Install “yarn” and “webpack”
cd C:\<your server folder>\server-data\resources\[system]\[builders]\yarn
npm install
cd C:\<your server folder>\server-data\resources\[system]\[builders]\webpack
npm install
If successful, there will be more files in the “screenshot-basic” folder
Go to “gcphone\client\client.lua” and change
old
exports['screenshot-basic']:requestScreenshotUpload(data.url, data.field, function(data) local resp = json.decode(data) DestroyMobilePhone() CellCamActivate(false, false) --cb(json.encode({ url = resp.files[1].url })) cb(json.encode({ url = resp.url })) end)
new
exports['screenshot-basic']:requestScreenshotUpload("Your Discord Webhooks", "files[]", function(data) local image = json.decode(data) DestroyMobilePhone() CellCamActivate(false, false) cb(json.encode({ url = image.attachments[1].proxy_url })) end)
Roughly that’s it
Your gcphone version looks different from mine
gcPhone
Ok can u send the line in the client to send a picture ? Or ur gcphone ?
so image is the link of the image?
legend
Yo, is there any chance to dissable that you can make screenshots ouf of the view from other persons? So like only out of the pov from you. Also is it possible that in the discord there is the steam / ingame name from the player?