Jump to content

Save texture to a file


Gordon_G

Recommended Posts

Posted

Hi, I'm actually trying to make a script that could save the player's screen to a file

local s = dxCreateScreenSource ( 1366, 768 )    
local b = dxUpdateScreenSource ( s )
if b then
  -- ...
end

Is it possible to save the "s" texture to a png file for example ?

 

 

Posted
4 hours ago, Gordon_G said:

@MIKI785 Oh dude you are saving my a** thanks to you i've got every vehicles image 400.png

if you want to make images of each vehicle for in-game usage, you can use this resource.

  • Like 1

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...