mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2024-12-23 04:27:25 +08:00
a97af16888
* fix(anticheat): rewrite AC bypass again (the old one isn't detected but this is cleaner) * fix(chat): some chat tweaks * fix(anticheat): fix memory leak * feat(lua): add is_player_friend * fix(protections): fix possible false positives with the vehicle task mismatch protection * feat(protections): add debug logs to trace false positive * fix(spam): add some more stuff
1.6 KiB
1.6 KiB
Tabs
All the tabs from the menu are listed below, used as parameter for adding gui elements to them.
Example Usage:
missionsTab = gui.get_tab("GUI_TAB_MISSIONS")
missionsTab:add_button("Click me", function ()
log.info("You clicked!")
end)
For a complete list of available gui functions, please refer to the tab class documentation and the gui table documentation.