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

Ui::activateFrontendMenu

Материал из RAGE MP Wiki Archive
Версия от 12:31, 24 февраля 2018; imported>Tim
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Does stuff like this:
https://i.imgur.com/dPtwga3.png

Example:
int GetHash = GET_HASH_KEY('fe_menu_version_corona_lobby');
ACTIVATE_FRONTEND_MENU(GetHash, 0, -1);

BOOL p1 is a toggle to define the game in pause.
int p2 is unknown but -1 always works, not sure why though.

Syntax

<syntaxhighlight lang="javascript">mp.game.ui.activateFrontendMenu(menuhash, Toggle_Pause, p2);</syntaxhighlight>

Required Arguments

  • menuhash: Model hash or name
  • Toggle_Pause: Boolean
  • p2: int

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also