Jump to content
RAGE Multiplayer Community

Selfie system


Fact
 Share

Recommended Posts

21 hours ago, Fact said:

I have seen this function, but how can I then get the image?

it says at the top of that page...

Quote

Takes screenshot of game screen and puts at /screenshots/ip_port folder. Accessible in CEF via screenshots:// scheme.

The image can be found there

  • Like 2
Link to comment
Share on other sites

  • 5 weeks later...

No the function works. I´m using it.

 

mp.keys.bind(0x77, true, function () {  //F8-Key
    var date = new Date();
    var name = "sanstreetlife-" + date.getDate() + "." + date.getMonth() + "." + date.getFullYear() + "-" + date.getHours() + "." + date.getMinutes() + "." + date.getSeconds() + ".png";
    mp.gui.takeScreenshot(name, 1, 100, 0);
});

 

It saves it in "RAGEMP/screenshots/ip-of-server"

Edited by Flashrex
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...