activateFrontendMenu
ACTIVATE_FRONTEND_MENU0xEF01D36B9C9D0C7BThe GTA V native ACTIVATE_FRONTEND_MENU of the HUD namespace, as LS:MP client scripts call it: the global function activateFrontendMenu, in JavaScript and in Lua.
activateFrontendMenu(
menuhash: Hash,
togglePause: boolean,
component: number
): voidactivateFrontendMenu(
menuhash: Hash,
togglePause: boolean,
component: integer
)✕
Blocked for scripts: Shared menus and input
LS:MP manages the shared frontend, text-entry dialog and input layout. Use the LS:MP page and input APIs for resource UI.
Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.
Reference
- Namespace
- HUD HUD
- In the game
void ACTIVATE_FRONTEND_MENU(Hash menuhash, BOOL togglePause, int component)- Hash
0xEF01D36B9C9D0C7B