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

Graphics::getScreenResolution

Материал из RAGE MP Wiki Archive
Версия от 19:35, 12 ноября 2019; imported>Meta (Improved the return value formatting)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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