RAGE.Input.TakeScreenshot

From RAGE Multiplayer Wiki
Revision as of 14:03, 18 November 2021 by Morioki (talk | contribs) (copy+paste)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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


See also