# Set Game Menu Dialog Item Shortcut

Grammar — Set the shortcut/hotkey of menuItem to __show|Text __for players
FlagsNative | Action

Sets the shortcut keyboard key of a specified menu item in the game menu. Allows customization of the F10 menu.

# Arguments

  • playergroup — Players
  • int [ preset::GameMenuDialogItem ] — Menu Item
  • text — Shortcut

Returns — void

native void UISetGameMenuItemShortcut(
	playergroup inPlayers,
	int inMenuItemType,
	text inShortcut,
);

Category: UI / Game Menu

# Examples

— None found —