TmpMenu/docs/lua/tabs.md
maybegreat48 a97af16888 Rewrite AC bypass (#2430)
* 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
2023-11-19 23:20:15 +01:00

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.

Tab Count: 47

GUI_TAB_SELF

GUI_TAB_WEAPONS

GUI_TAB_TELEPORT

GUI_TAB_CUSTOM_TELEPORT

GUI_TAB_MOBILE

GUI_TAB_OUTFIT_EDITOR

GUI_TAB_OUTFIT_SLOTS

GUI_TAB_ANIMATIONS

GUI_TAB_VEHICLE

GUI_TAB_HANDLING

GUI_TAB_HANDLING_SAVED_PROFILE

GUI_TAB_HANDLING_MY_PROFILES

GUI_TAB_HANDLING_CURRENT_PROFILE

GUI_TAB_LSC

GUI_TAB_SPAWN_VEHICLE

GUI_TAB_FUN_VEHICLE

GUI_TAB_WORLD

GUI_TAB_SPAWN_PED

GUI_TAB_SQUAD_SPAWNER

GUI_TAB_CREATOR

GUI_TAB_TRAIN

GUI_TAB_BLACKHOLE

GUI_TAB_MODEL_SWAPPER

GUI_TAB_VFX

GUI_TAB_XML_MAPS

GUI_TAB_NETWORK

GUI_TAB_MISSIONS

GUI_TAB_SPOOFING

GUI_TAB_PLAYER_DATABASE

GUI_TAB_SESSION_BROWSER

GUI_TAB_STAT_EDITOR

GUI_TAB_SETTINGS

GUI_TAB_LUA_SCRIPTS

GUI_TAB_CONTEXT_MENU_SETTINGS

GUI_TAB_ESP_SETTINGS

GUI_TAB_GTA_CACHE_SETTINGS

GUI_TAB_GUI_SETTINGS

GUI_TAB_HOTKEY_SETTINGS

GUI_TAB_REACTION_SETTINGS

GUI_TAB_PROTECTION_SETTINGS

GUI_TAB_TRANSLATION_SETTINGS

GUI_TAB_PROXY_SETTINGS

GUI_TAB_DEBUG

GUI_TAB_PLAYER