/CheeseMenu

Cheese menu is a UI made for the 2take1 lua api

Primary LanguageLua

CheeseMenu

Cheese Menu is a user interface built using Lua, specifically designed to mimic the functionality of 2take1's API for features. As a result, it natively supports most 2take1 scripts.

Preview

GTA5_kzYH52SWMf GTA5_w4gl9vnclG

Note: other scripts seen loaded here do not come with cheese menu.

Usage

If you are a lua dev then using this is quite close to using the 2t1 api

  • Differences to 2t1
    • menu.get_feature_by_hierarchy_key
      • if duplicates are found it'll return the first one created
      • its hierarchy keys are case sensitive and not all lowercase like 2t1's
      • it'll use the original 2t1 function, if it returns nil it will use cheesemenu's function

How to install

  1. Download by going to Releases and downloading cheesemenu.zip on the latest release
  2. Simply put cheesemenu.lua and cheesemenu folder that are in the downloaded zip in the scripts folder for 2t1 and load it

Load other scripts through Local > Script Features > Cheese Menu > Proddy's Script Manager. Don't forget to enable trusted mode.

Controls are in Script Features > Cheese Menu > Controls

Customizability

Cheese menu is quite customizable, it allows multi frame headers, backgrounds and changing just about any color

If you wish to use multi frame headers I added an example, fps can go below 1 if you want the header to change every now and then

GTA5_p6I2g4HpkE GTA5_gAofqF8R8a

Hotkey system

Since this is separate from 2t1 and many lua scripts rely on 2t1's hotkeys I've made an extremely similar hotkey system for cheese menu.

  • F11 on a feature will set a hotkey
  • Shift + F11 will remove a hotkey if it exists
  • Ctrl + F11 will show a hotkey if it exists

Hotkeys will be saved automatically

Credits

  • Kektram - for teaching me the basics of lua, I only started because of him. also providing neat functions and telling me of ways to optimize my code

  • Proddy - sharing Script Manager & telling me about bad habits in lua and helping even though he hates the concept of cheesemenu

  • Rimuru - only got the idea because of her UI, learnt some stuff from it too