Skip to content
CritteRo edited this page Jul 3, 2021 · 7 revisions

critMenu - A scaleform-based FiveM menu framework.

About

Welcome to the wiki! This is (hopefully) the best place to be for critMenu documentation. Every event API has it's own page. Feel free to check them out in the side-bar.

Changelog.

Update 03 Jul 2021
Added TOS menu type. It uses the TOS portion of "ONLINE_POLICIES" scaleform. It's neat. Looks neat. And I like it :).

  • Added critMenu.CreateTosMenu event.
  • Added critMenu.Check.TosAccepted trigger.
  • Added critMenu.Check.TosDenied trigger.

Update 25 Jun 2021

  • Added critMenu.Check.ButtonWasUsed trigger. You can add client-side event handlers that will trigger every time a button is used / selected.
  • Added critMenu.AddMenuButton event.
    • This works the same as the warmenu's AddMenuButton. Instead of linking it to an event, you link this button to a "Target menuID". Selecting this button will hide the current menu and open the target menu.
  • Added critMenu.ModifyMenu event. You can modify an existing menuID. Can't change the menu from a submenu to a primary menu.