RAGE.Input.TakeScreenshot
Takes screenshot of game screen and puts at /screenshots/ip_port folder.
Syntax
RAGE.Input.TakeScreenshot(name, type, quality, compQuality);
Required Arguments
- name: String
- type: Type of screenshot (0 - JPG, 1 - PNG, 2 - BMP)
- quality: Quality (0 - 100)
- compressionQuality: Compression quality (0 - 100)
Example
C# Syntax
Parameters
- name: String
- type: Type of screenshot (0 - JPG, 1 - PNG, 2 - BMP)
- quality: String
- compressionQuality: Compression quality (0 - 100)
Example
public void takeScreen()
{
RAGE.Input.TakeScreenshot("ragemp.png", 1, 100, 0);
}