Перейти к содержанию

Graphics::getScreenResolution

Материал из RAGE MP Wiki Archive

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

Syntax

<syntaxhighlight lang="javascript">mp.game.graphics.getScreenResolution(x, y);</syntaxhighlight>

Required Arguments

  • x: int
  • y: int

Return value

  • object: x, y

See also