Fact Posted March 8, 2019 Share Posted March 8, 2019 Hi, how can I implement a selfie system or just a photo system? I need to get any image file (png, jpg for example) Link to comment Share on other sites More sharing options...
Legend Posted March 8, 2019 Share Posted March 8, 2019 https://wiki.rage.mp/index.php?title=Gui.takeScreenshot + camera functions. Link to comment Share on other sites More sharing options...
Fact Posted March 9, 2019 Author Share Posted March 9, 2019 5 часов назад, Legend сказал: https://wiki.rage.mp/index.php?title=Gui.takeScreenshot + camera functions. I have seen this function, but how can I then get the image? Link to comment Share on other sites More sharing options...
JamesBeast Posted March 10, 2019 Share Posted March 10, 2019 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 2 Link to comment Share on other sites More sharing options...
Fact Posted March 10, 2019 Author Share Posted March 10, 2019 11 час назад, Jaimuzu сказал: it says at the top of that page... The image can be found there I tried, it didn't work for me. Can you give an example? Link to comment Share on other sites More sharing options...
Flow Posted April 9, 2019 Share Posted April 9, 2019 For the records. It does not work as function is broken.. Link to comment Share on other sites More sharing options...
Flashrex Posted April 9, 2019 Share Posted April 9, 2019 (edited) 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 April 9, 2019 by Flashrex Link to comment Share on other sites More sharing options...
Flow Posted April 11, 2019 Share Posted April 11, 2019 Then it got fixed i guess... Thx Link to comment Share on other sites More sharing options...
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