Support for taking screenshots

Would love the ability to take screenshots and stream screenshots from in-game. Pure game environment that is, like it wouldn’t take the UI/NUI is the screenshot. Maybe natives would have params for region screenshots. The screenshot location would be based on Ped location.

// GetGameScreenshot
void GET_GAME_SCREENSHOT(Ped ped, float posX, float posY, char* string);

Use of native would be something like, example I’d like to take a 400x240 screenshot of the entire screen and it would save to a folder of the resource that would be either pre-specified or you can define the path to the folder.

GetGameScreenshot(GetPlayerPed(-1), 400, 240, "Screenshot-01")

Usage of the taken screenshot would be something like this. Returning the screenshot path nui://XXXXXXXXX/images/Screenshot-01.png making it useable in NUI.

// UseGameScreenshot
void USE_GAME_SCREENSHOT(char* string);

This would add the posibility to use the native to make like a Snapchat app for roleplay phones, MDT systems, mugshots, id cards and plenty more.

This is already a thing

[Window Title]
FiveM Error

[Main Instruction]
FiveM has encountered an error

[Content]
Failed to call inflate() for streaming file w_pi_revolver.ytd.

Read bytes: 00 00 00 00 00 00 00 00

Please try restarting the game, or, if this occurs across servers, verifying your game files.

If you require immediate support, please visit FiveM.net and mention the details in this window.

[^] Skjul detaljer [Save information] [Luk]

[Expanded Information]
Crash signature: gta-streaming-five.dll+540A8
Report ID: si-8f97870048fb43b7824e9cfef4429493 Pls help me

What does this have to do with this topic? make a topic in the correct area " #technical-support " and fill out the support template.