FreeScriptsDocsSupport

Browse

  • Documentation
    • FAQ
  • 📱 Phone
    • 🧠 Installation
    • 🦄 Unique phones
    • 💿 Configure
      • 💄 Additional Features
      • 📸 Camera
      • 📹 Video Calls
      • 🍏 Apps
      • 🪵 Logs
      • 🔋 Battery System
      • 🖼️ Media Customization
      • 🗣️ Multi-Language Support
      • 🗃️ SIM Cards
      • 🚗 Valet System
      • 🖼️ Wallpapers App
      • ⛅ Weather Widget
    • ⏭️ Exports
      • Client side
        • 👁️‍🗨️ General
        • 📞 Calls
        • ☀️ Groups
        • 🏢 Companies
        • 🔧 Misc
        • 🗼 Signal Towers
      • Server side
        • 🆔 Identify Player
        • ☎️ Sim Cards
        • 📞 Calls
        • 💬 Messages
        • ☀️ Groups
        • 🌐 Cell Broadcast
        • 💸 YPay
        • 📧 Mail
        • 📪 Notifications
        • 📵 Screen Damage
        • 🗯️ Dark Chat
        • 🔧 Misc
    • 🪛 Commands
    • 📡 Events
      • Server side
        • 📨 Messages
        • 📱 Social Media
        • ☎️ Calls
    • 🍎 Custom apps
    • 🏦 Banking App
    • 📈 Markets App
    • 👜 State bags
  • ☎️ Boomer Phone
    • 🧠 Installation
    • 🦄 Unique phones
    • ⏯️ Exports
      • Client side
  • 🏠 Properties
    • 🧠 Installation
    • 💿 Configure
    • 🔗 Compatibility
      • Phones
        • YSeries
        • LB Phone
    • 📖 Guides
      • 🛏️ Starter Apartments
      • 🐚 Add More Shells
      • 🔑 Physical Keys
      • 🪑 Furniture As Items
      • 🛠️ Fix Interactable Points
      • 📋 Discord Logs Setup
    • ⏭️ Exports
      • Client side
        • GetCurrentPropertyId
        • GetCurrentProperty
        • IsPointInsideProperty
        • OpenPropertyMenu
        • AddKey
        • RemoveKey
        • SetWaypointToProperty
        • GetAllProperties
        • GetKeyHolders
        • PoliceRaidDoor
        • WrapIntoProperty
        • GetClosestDoor
        • GetEntryCoordinates
        • UseLockpick
        • PoliceRaidDoor
      • Server side
        • GetAllProperties
        • GetPropertyData
        • AddKey
        • RemoveKey
        • ToggleDoorlock
        • GetPlayersInProperty
        • GetKeyHolders
        • DeleteProperty
        • AddStarterApartment
        • SellProperty
        • TransferProperty
    • 🪝 Hooks System
      • buyProperty
      • rentProperty
      • sellProperty
      • deleteProperty
      • createDoor
      • saveSettings
      • setInteractablePoint
      • canEnter
      • canExit
    • 👜 State bags
  • 🏦 Banking
    • 🧠 Installation
    • 🪛 Commands
    • ⏯️ Exports
      • Client side
      • Server side
    • 🪵 Logs
    • 🪝 Hooks
    • 🏦 Banking App
  • 💸 Billing
    • 🧠 Installation
    • ⏭️ Exports
      • Client side
      • Server side
  • 📊 Hud
    • 🧠 Installation
    • ⏭️ Exports
      • Client side
  • 📦 Storage Units
    • 🧠 Installation
  • 🎰 Slots
    • 🧠 Installation
    • 📱 Phone app
  • 🎃 Minigames
    • 🎯 Exports and Usage
    • 🔧 Commands

Client side

General

ToggleHud

lua
---@param bool? Toggle the hud on or off (if not provided, it will toggle the hud)
exports["tgg-hud"]:ToggleHud(bool)

IsSeatbeltOn

lua
---@return bool
exports["tgg-hud"]:IsSeatbeltOn()

ToggleSeatbeltIndicator

lua
--- NOTE: This export only modifies the seatbelt state visually.
--- Used to toggle show/hide the seatbelt indicator and buckle/unbuckle the seatbelt.
--- And modify the buckled seatbelt color.
---@param toggle boolean - Whether to toggle show/hide the seatbelt indicator.
---@param buckle boolean - Whether to buckle/unbuckle the seatbelt.
---@param color string - The color of the buckled seatbelt.
exports["tgg-hud"]:ToggleSeatbeltIndicator(toggle, buckle, color)
lua
--- NOTE: This is only a visual change in the UI. It won't add a harness by default.
--- For example, you can create a custom harness using the export method.
--- That way, the buckled seatbelt icon will be red, indicating that 
--- your harness is on.
exports["tgg-hud"]:ToggleSeatbeltIndicator(true, true, "#fd303a" --red)

Progress Bar

StartProgress

lua
local data = {
    label = 'Example', -- The label that will be displayed
    duration = 5000, -- The duration of the progress bar in milliseconds
    canCancel = true, -- If the player can cancel the progress
    useWhileDead = false, -- If the player can use the progress bar while dead
    animation = { -- The animation that will be played
        animDict = 'anim@heists@ornate_bank@hack', -- The animation dictionary
        anim = 'hack_loop', -- The animation name
        flag = 49, -- The animation flag
        scenario = 'PROP_HUMAN_BUM_BIN', -- The scenario that will be played
    },
    prop = { -- The prop that will be displayed
        model = `prop_tgg_computer`, -- The prop model
        bone = 60309, -- The bone id
        coords = { x = 0.0, y = 0.0, z = 0.0 }, -- The prop attachment offset
        rotation = { x = 0.0, y = 0.0, z = 0.0 }, -- The prop attachment rotation
    },
    controlDisables = { -- The controls that will be disabled
        disableMovement = true, -- If the player movement will be disabled
        disableCarMovement = true, -- If the player car movement will be disabled
        disableMouse = false, -- If the player mouse will be disabled
        disableCombat = true, -- If the player combat will be disabled
    },
}
local success = exports['tgg-hud']:StartProgress(data)
if success then
    print('Success')
else
    print('Failed')
end

CancelProgress

lua
exports['tgg-hud']:CancelProgress()

IsProgressActive

lua
---@return boolean
exports['tgg-hud']:IsProgressActive()

On this page

  • General
  • ToggleHud
  • IsSeatbeltOn
  • ToggleSeatbeltIndicator
  • Progress Bar
  • StartProgress
  • CancelProgress
  • IsProgressActive

All Rights Reserved

TeamsGG © 2026

Pages

FreeScriptsDocsSupport

Legal

Terms of ServiceRefunds

Tebex

Tebex ImpressumTebex TermsTebex Privacy

Socials

DiscordYouTube