inside-scripts
Store
  • INFORMATION
    • inside-scripts
  • PAID SCRIPTS
    • 🔑 Vehicle Keys
      • Functions
      • Config
    • 🚗 Garage
      • Functions
      • Script Functionality Overview
      • Config
    • 🥦 Weed Laboratory
      • Config
    • 💊 Sell Drugs
      • Script Functionality Overview
      • Config
    • 🗯️ Dialog V1
      • Functions
      • Config
    • 🗯️ Dialog V2
      • Functions
      • Config
    • 📰 Interaction
      • Functions
      • Config
    • 🪧Notifications and Progress
      • Functions
      • Config
    • 🪛 Lock Picking
      • Config
  • FREE SCRIPTS
    • 🖥️ Bridge & Library
      • Compatibility
      • Usage & Installation
      • Functions
        • Bridge
          • Framework
            • Client
            • Server
          • Inventory
            • Server
          • Fuel
            • Client
          • Keys
            • Client
            • Server
          • Notification
            • Client
            • Server
          • Progress Bar
            • Client
          • Target
            • Client
        • Library
          • Callback
            • Client
            • Server
          • Entity
            • Client
            • Server
          • Blip
            • Client
          • Identifier
            • Server
          • Timezone
            • Server
          • Webhook
            • Server
          • Utility
            • Shared
Powered by GitBook
On this page
  1. PAID SCRIPTS
  2. 🗯️ Dialog V1

Config

You can check out default config

cfg = {}

cfg.Dialog = {
    title = {
        text = "Example Title",
        background = {
            primary = "#00243a",
            secondary = "#050f19",
        },
    },
    additional = {
        text = "Example Additional",
        background = {
            primary = "#ff425d",
            secondary = "#b7162b",
        },
    },
    message = {
        text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse imperdiet enim vitae nibh ultricies, et laoreet libero ultricies. Vestibulum nec nisl sollicitudin, mattis augue eget, mollis sapien. Vivamus sed molestie arcu, at convallis augue.",
        typeEffect = 25,
    },
    audio = {
        path = "audio/example.mp3",
        volume = 50,
    },
    buttons = {
        {
            input = true,
            message = "Provide Your Full Name",
            type = "text",
            onSelect = function(id, input)
                print(id, input)
            end
        },
        {
            input = true,
            message = "Provide Your Age",
            type = "number",
            onSelect = function(id, input)
                print(id, input)
            end
        },
        {
            input = false,
            message = "Test Button 1",
            icon = {
                name = "fa-solid fa-house",
                color = "#ff425d",
            },
            onSelect = function(id)
                print(id)
            end
        },
        {
            input = false,
            message = "Test Button 2",
            icon = {
                name = "fa-solid fa-house",
            },
            onSelect = function(id)
                print(id)
            end
        },
        {
            input = false,
            message = "Test Button 3",
            onSelect = function(id)
                print(id)
            end
        },
    },
}

cfg.Camera = {
    animation = {
        male = {
            {dict = "missfbi3_party_d", anim = "stand_talk_loop_a_male1"},
            {dict = "missfbi3_party_d", anim = "stand_talk_loop_a_male2"},
            {dict = "missfbi3_party_d", anim = "stand_talk_loop_b_male2"},
            {dict = "missfbi3_party_d", anim = "stand_talk_loop_b_male3"},
        },
        female = {
            {dict = "missfbi3_party_b", anim = "talk_inside_loop_female"},
            {dict = "missfbi3_party_d", anim = "stand_talk_loop_b_female"},
            {dict = "missfbi3_party_d", anim = "stand_talk_loop_a_female"},
            {dict = "rcmnigel1cnmt_1c", anim = "price_tag"},
        },
    },
    camera = {
        position = {
            x = 0.0,
            y = 0.8,
            z = 0.7,
        },
        offset = {
            x = 0.0,
            y = 0.0,
            z = 0.5,
        },
        fov = 65.0,
        ease = true,
        easeTime = 1000,
    },
}

Last updated 9 months ago