LV Soft FiveM
  • LV SOFT
    • 👋Welcome!
    • 🛒Tebex
    • 💬Discord
  • QB/ESX
    • ☮️lvs-loading
      • Installation
      • Configuration
    • 👫lvs-multichar
      • Installation
      • Configuration
      • Adding Scenes
      • Tebex Integration
      • Commands
    • 🗺️lvs-spawnselector
      • Installation
      • Configuration
    • 🥼lvs-clothing
      • Installation
        • QBCore Install
        • ESX Install
      • Configuration
      • Migration
        • qb-clothing
        • esx-skinchanger
        • Illenium-Appareance
      • Blacklisting
      • Events
      • Commands
    • ⚙️lvs-lib
      • black-screen loading
      • notifications
      • progressbar
      • key-interaction
      • textui
      • alert
      • context menu
      • context input
    • 💬lvs-chat
      • Installation
      • Configuration
      • Events & Exports
    • 📱lvs-radio
      • Installation
      • Configuration
      • Events & Exports
    • 🗃️lvs-playerlist
      • Installation
      • Configuration
    • 📹lvs_weazelnews
      • Installation
      • Configuration
    • 🎒lvs-inventory
      • Installation
      • Configuration
      • lvs-inventory
        • exports
      • lvs-shops
        • Configuration
        • Exports
      • lvs-crafting
    • 🪪lvs-idmanager
      • Installation
      • Configuration
      • Exports
  • Standalone
    • 🚘lvs-drift
      • Installation
      • Configuration
      • Commands
    • 🕺lvs-animations
      • Installation
      • Configuration
      • Adding Animations
      • Exports/Events
    • 💥lvs-accident
      • Installation
      • Configuration
    • 🔥lvs-explosion
      • Installation
      • Configuration
    • 🏎️lvs-racing
  • ESX
    • 📅Soon
Powered by GitBook
On this page
  1. QB/ESX
  2. lvs-idmanager

Configuration

Explore and fine-tune your settings effortlessly. Customize your script experience according to your preferences

Configuration File


Config = {}

Config.CardType = {
    citizen = {
        item = 'lvs_citizen_card', -- item name of the card
        subtitle = 'Citizen ID', -- Subtitle for visual print on the card
    },
    citizen_fake = {
        item = 'lvs_citizen_fake_card',
        subtitle = 'Citizen ID',
        ilegal = true
    },
    driver = {
        item = 'lvs_driver_license',
        subtitle = 'Driver License',
    },
    weapon = {
        item = 'lvs_weapons_license',
        subtitle = 'Weapon License',
    },
    police = {
        item = 'lvs_police_card',
        subtitle = 'Los Santos Police Department',
        job = 'police',
        commandeering = true, -- Can a player take a ped's vehicle with player work ID Card
        dark = true, -- White text on card
    },
    fib = {
        item = 'lvs_fib_card',
        subtitle = 'Los Santos Federal Investigation Bureau',
        job = 'fib',
        commandeering = true,
        dark = true,
    },
    ems = {
        item = 'lvs_ems_card',
        subtitle = 'U.S. Department of Labor - DOL',
        job = 'ambulance',
    },
    mechanic = {
        item = 'lvs_mechanic_card',
        subtitle = 'U.S. Department of Labor - DOL',
        job = 'mechanic',
    },
}

Config.ProcessingPoint = {
    -- It's possible that you want to remove those points. The best option is to use the exports to grant licenses through other scripts.
    general = {
        types = { -- Types of licenses that can be purchased from this "processing point" [Config.CardType]
            citizen = {price = 100}, -- price and groups ( groups: option will only appear if they belong to the group)
            driver = {price = 50},
            weapon = {price = 200},
            police = {price = 300},
            fib = {price = 500},
            ems = {price = 300},
        },
        -- common refers to global settings for the locations, which you can still configure individually for each location if needed.
        common = {
            ped = 's_m_y_cop_01', -- ped model
            scenario = 'WORLD_HUMAN_CLIPBOARD_FACILITY', -- ped scenario
            --animation = {dic='amb@world_human_clipboard@male@idle_b', anim = 'idle_d'}, -- not required if scenario is set
            interaction = {
                type = 'interact', -- interact | target
                view = 3.5, -- distance to view
                distance = 1.5, -- distance can interact
                label = 'Talk'
            },
            groups = nil, -- required if you want only interact with these groups (jobs or gangs)
        },
        locations = {
            {coords = vector4(437.29, -978.94, 30.69, 176.89)}, --"z" is +1 from the ground
        }
    },

    driver = {
        types = {
            driver = {price = 50},
        },
        common = {
            ped = 'hc_driver',
            scenario = 'WORLD_HUMAN_CLIPBOARD_FACILITY',
            interaction = { type = 'interact', view = 3.5, distance = 1.5, label = 'Talk'},
            groups = nil,
        },
        locations = {
            {coords = vector4(224.29, -1395.17, 30.59, 279.15)}
        }
    },
    fake = {
        types ={
            citizen_fake = {price = 5000}
        },
        common = {
            ped = 's_m_m_snowcop_01',
            scenario = 'WORLD_HUMAN_COP_IDLES',
            interaction = { type = 'interact', view = 3.5, distance = 1.5, label = 'Talk'},
            groups = nil,
        },
        locations = {
            {coords = vector4(1468.63, 1134.29, 114.32, 90.46)}
        }
    },

    fake2 = {
        types ={
            citizen_fake = {price = 5000}
        },
        common = {
            interaction = { type = 'interact', view = 3.5, distance = 1.5, label = 'Talk'},
            groups = nil,
        },
        locations = {
            {
                task = true,
                ped = 'mp_m_bogdangoon',
                coords = {
                    spawn = vector4(714.21, -966.17, 30.4, 353.48), --[caution] "z" is +1 from the ground
                    camera = vector4(707.12, -965.36, 30.41, 43.38), --[caution] "z" is +1 from the ground
                    laptop = vector4(707.3, -966.85, 30.44, 187.19), --[optional] - [caution] "z" is +1 from the ground
                    mugshot = vector4(705.9, -964.01, 30.4, 219.43), --[caution] "z" is +1 from the ground
                },
                pickup = { --[optional] - random location to pick up the identification
                    model = 'prop_box_guncase_02a',
                    coords = {
                        vector4(2447.41, 4971.29, 46.81, 310.0),
                        vector4(63.84, 3713.4, 40.0, 73.0),
                        vector4(2359.21, 3137.16, 48.07, 114.0),
                        vector4(-69.74, 6256.55, 31.09, 0.0)
                    }
                },
                processingTime = '5m' -- 1m (1 minute) - 30s (30 seconds)
            }
        }
    },

    -- You can add or remove any of the ones listed above
}

Config.Buttons = {
    commandeering = {
        label = 'Commandeering',
        key = 'E', -- for display
        keyIndex = 38, -- https://docs.fivem.net/docs/game-references/controls/
        cancel = 'Cancel',
        cancelKey = 'Esc',
        cancelKeyIndex = 202
    },
    selectPlayer = {
        label = 'Movie Cam',
        key = 'M',
        keyIndex = 244,
        cancel = 'Cancel',
        cancelKey = 'Esc',
        cancelKeyIndex = 202
    }
}

Config.VersionControl = true
PreviousInstallationNextExports

Last updated 2 months ago

🪪