Ui::restartFrontendMenu

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Before using this native click the native above and look at the decription.

Example:
int GetHash = Function.Call<int>(Hash.GET_HASH_KEY, 'fe_menu_version_corona_lobby');
Function.Call(Hash.ACTIVATE_FRONTEND_MENU, GetHash, 0, -1);
Function.Call(Hash.RESTART_FRONTEND_MENU(GetHash, -1);

This native refreshes the frontend menu.

p1 = Hash of Menu
p2 = Unknown but always works with -1.

Syntax

mp.game.ui.restartFrontendMenu(menuHash, p1);

Required Arguments

  • menuHash: Model hash or name
  • p1: int

Return value

  • Undefined

Example

// todo

See also