Jump to content

[Help] Accessing Client's Screenshots


Swagy

Recommended Posts

So as the title says, I'm trying to make a gallery script and I'm trying to figure out a way to access Client's screenshots (MTA files from his computer) if there is anyway to do that please mention it

or if you have any alternative idea I'm glad to hear it :D

Link to comment
  • Moderators

@Swagy

 

You can capture the screen with the following function: [input]

https://wiki.multitheftauto.com/wiki/DxCreateScreenSource

 

You can also figure out when somebody makes a screenshot: [timing]

https://wiki.multitheftauto.com/wiki/BindKey


You can get the pixels from that captured moment : [transform]

https://wiki.multitheftauto.com/wiki/DxGetTexturePixels

 

Save the image inside of the resource folder: [save]

https://wiki.multitheftauto.com/wiki/DxConvertPixels

 

And using XML or JSON to keep track of the saved files. [register]

 

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...