♾️
InfinityPulse
🎮 Discord📺 Youtube🛒 Tebex
  • Introduction
  • RedM
    • 🌿Herbalist System
      • Installation
      • Commands
      • Herbalist Skills
    • ⭕Company Blips
      • Installation
      • Config
    • ⚔️Bandits Ambush
      • Installation
      • Config
    • 📖XP System
      • Installation
      • Types
      • Exports
      • UI Additions
  • 💬Alert Dialogue
    • Installation
    • Exort
  • FiveM
    • 🌟VIP System
      • Installation
      • Exports
    • 💱Money Laundering
      • Configuration
      • Server/Framework support
  • DATA TABLE
    • Export
  • 📦Crate Drop
    • Installation
    • Configuration
  • 💬3D Text UI
    • Installation
    • Configuration
    • Exports
  • 📺City Hall
    • Installation
    • Configuration
Powered by GitBook
On this page
  • config.lua
  • Framework
  • Style Options
  • Checks Options
  • Options
Edit on GitHub
  1. 3D Text UI

Configuration

config.lua

Framework

Config.Framework = "qb" --> Your Framework | esx or qb
Config.FrameworkScriptName = "qb-core" --> The name of the framework script

Style Options

Config.Style = "default" --> The Style folder name

Config.StyleOptions = { --> The names of the images that you will use
    Point = 'point',
    Key = 'key',
    Selected = 'label',
    Unselected = 'label_no',
    SelectedOpt = 'circle_selected',
    UnselectedOpt = 'circle'
}

Checks Options

Config.ResourceChecks = true --> If set to true, only the resource witch added the interact can remote it or edit it

Config.CuffDisable = true --> If set to true people who are cuffed cant see or interact with the menu

Config.VehicleDisable = true --> If set to true people who are inside a car cant see or interact with the menu

Config.DeadDisable = true --> If set to true people who are dead cant see or interact with the menu

Options

You can only have 1 out of these : Action, ClientEvent, ServerEvent options, if there are more than 1, then one of them will be triggered.

IN THE CASE OF MULTIPLE MECHANISMS (Action, ClientEvent, ServerEvent) The selection of which will run , goes as follows: (Action -> ServerEvent -> ClientEvent), although using more than one option is bad practice.

Config.Options = { --> Table | The Interacts
    {
        Coords = vec3(0.0, 0.0, 0.0), --> Vector3 | The coords of the interact
        Job = nil, --> String | The job that can access the interact
        SeeDist = 10.0, --> Number | The Distance that a player can see the interact
        InteractDist = 1.0, --> Number | The Distance that the player can interact with the menu
        Options = { --> Table | The Options of the Interact
            {
                Label = "I want to Buy", --> String | The Label of the interact
                Action = function() --> Function | The Function that will be triggered when the player presses "E"
                    print("Hello from ip_interact!! 1")
                end,
                ServerEvent = "ip_interact:server:something", --> String | The Name of the Server event that will be triggered when the player presses "E"
                ClientEvent = "ip_interact:client:something" --> String | The Name of the Client event that will be triggered when the player presses "E"
            }
        }
    }
}

PreviousInstallationNextExports

Last updated 1 month ago

💬