RAGE.Input.TakeScreenshot

From RAGE Multiplayer Wiki
Revision as of 13:58, 18 November 2021 by Morioki (talk | contribs) (description)

Take screenshot from player screen

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);
}


See also