Swagy Posted April 10, 2020 Share Posted April 10, 2020 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 Link to comment
Moderators IIYAMA Posted April 10, 2020 Moderators Share Posted April 10, 2020 @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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now