📂Tabs

Here's a breakdown of the menu's tabs, empowering you to customize its interface:

  • Player-Focused Tabs:

    • ICON_FA_SELF

    • GUI_TAB_MOBILE

    • GUI_TAB_TELEPORT

    • GUI_TAB_CUSTOM_TELEPORT

    • GUI_TAB_OUTFIT_EDITOR

    • GUI_TAB_OUTFIT_SLOTS

    • GUI_TAB_ANIMATIONS

  • Vehicle-Centric Tabs:

    • ICON_FA_VEHICLE

    • GUI_TAB_HANDLING

    • GUI_TAB_HANDLING_CURRENT_PROFILE

    • GUI_TAB_HANDLING_SAVED_PROFILE

    • GUI_TAB_LSC

    • GUI_TAB_SPAWN_VEHICLE

    • GUI_TAB_FUN_VEHICLE

  • World-Oriented Tabs:

    • ICON_FA_WORLD

    • GUI_TAB_SPAWN_PED

    • GUI_TAB_SQUAD_SPAWNER

    • GUI_TAB_BLACKHOLE

    • GUI_TAB_XML_MAPS

  • Network and Player Interaction Tabs:

    • ICON_FA_PLAYER

    • ICON_FA_NETWORK

    • GUI_TAB_SPOOFING

    • GUI_TAB_MISSIONS

    • GUI_TAB_PLAYER_DATABASE

    • GUI_TAB_SESSION_BROWSER

  • Gameplay-Enhancing Tabs:

    • ICON_FA_RECOVERY

    • ICON_FA_WEAPONS

    • GUI_TAB_ESP_SETTINGS

  • Customization and Settings Tabs:

    • ICON_FA_SETTINGS

    • GUI_TAB_LUA_SCRIPTS

    • GUI_TAB_GTA_CACHE_SETTINGS

    • GUI_TAB_GUI_SETTINGS

    • GUI_TAB_HOTKEY_SETTINGS

    • GUI_TAB_REACTION_SETTINGS

    • GUI_TAB_PROTECTION_SETTINGS

    • GUI_TAB_PROXY_SETTINGS

Adding Elements to Tabs:

  1. Retrieve the desired tab using gui.get_tab(), passing its identifier as a parameter.

  2. Utilize the tab's functions to incorporate elements (buttons, labels, etc.).

Example:

recoveryTab = gui.get_tab("## `ICON_FA_RECOVERY")

recoveryTab::add_button("Click me", function ()
    log.info("You clicked!")
end)

Last updated