Graphics::getScreenResolution

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

int screenresx,screenresy;
GET_SCREEN_RESOLUTION(&screenresx,&screenresy);

Syntax

mp.game.graphics.getScreenResolution(x, y);

Required Arguments

  • x: int
  • y: int

Return value

  • object: x, y

Note info.png The returned object seems to be static.

{ "x": 1280, "y": 720 }

See also