Jump to content

function takePlayerScreenShot


Recommended Posts

no,i mean the folder on server, because this function take play screen and send to server!

https://wiki.multitheftauto.com/wiki/Ta ... ScreenShot

This function forces a client to capture the current screen output and send it back to the server. The image will contain the GTA HUD and the output of any dxDraw functions that are not flagged as 'post GUI'. The image specifically excludes the chat box and all GUI (including the client console). The result is received with the event onPlayerScreenShot.

Link to comment
hmm.. i mean , Can we save this image in folder on server? take player screen and save this in server's folder

Yes... As NeverGiveup said, read teh imageData parameter.

See this and read imageData parameter

https://wiki.multitheftauto.com/wiki/OnPlayerScreenShot

imageData: A string which contains the JPEG image data. This can be saved with the file functions, or sent to players with triggerClientEvent or even uploaded to a web site.
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...