Welcome to the forum, Guest

To access forum content and all of our services, you must register or log in to the forum. Joining the forum and all content on the forum is completely free.

The world's largest FiveM Forum and GTA 5 Forum address

Hello dear member,
We work 24/7 to provide the most valuable content that will be of use to you,
you can share content and support the entire FiveM & GTA 5 community.

Guide Using With Screenshot Basic Discord Webhook

Meta

Super Moderator
Joined
Jul 4, 2021
Messages
188
Reaction score
296
Points
251
It's hard to find decent service to upload images lately. Most of the services that were there were extremely slow or interrupted, so we had to create our own service to fix it. There is no need for this anymore, we can only solve this problem with an extra discord room and webhook. I will tell you how to do it without further ado.

I will give the example on GcPhone because this script is mostly used

Sample Kod:
Code:
exports['screenshot-basic']:requestScreenshotUpload("Discord Webhook URL", "files[]", function(data)
        local image = json.decode(data)
        DestroyMobilePhone()
        CellCamActivate(false, false)
        cb(json.encode({ url = image.attachments[1].proxy_url }))
end)

Sample Picture:
Screenshot_2.png


What to do :

1-)You open a room in Discord and create a WebHook
2-)You Write Your Discord WebHook Link In The Url Section
3-)You change the inside of the cb function as in the sample code


That's all that needs to be done, now you can upload pictures with screenshot-basic smoothly and quickly.



 

MrNiceGuy

Bronze Elite
Joined
Aug 23, 2021
Messages
34
Reaction score
6
Points
61
Hello, does anyone know how to resolve this error? :)
no such export request screenshot upload in resource screenshot-basic
 

kmetic

Member
Joined
Jun 30, 2021
Messages
1
Reaction score
0
Points
86
Hello im just curios what i need to change in cb?Screenshot_242.png
 

Login or register to get more out of the forum!

Login or register to get more out of the forum!

Register

Creating an account on the forum is completely free.

Register now
Log in

If you have an account, please login

Log in

Theme editor

Theme customizations

Graphic Backgrounds

Granite Backgrounds