m-Scripts
  • m-Scripts Documentation
  • QBCore
    • Jobs
      • 🚗[QB] TunerJob
        • 🛠️Installation
        • ❓Common Questions
        • 🗒️Config
      • 🍞[QB] BeanMachine
        • 🛠️Installation
        • 🗒️Config
      • 🍔[QB] Burgershot
        • 🛠️Installation
        • 🗒️Config
      • 🍈[QB] CoolBeans
        • 🛠️Installation
        • 🗒️Config
      • 🚚[QB] Deliveries
        • 🛠️Installation
        • 📃Config
          • 📃config_functions
      • 🍎[QB] Farming
        • 🛠️Installation
        • 🗒️Config
      • 🐟[QB] Fishing
        • 🛠️Installation
        • 🗒️Config
          • 📄config_diving
          • 📄config_fishingnet
          • 📄config_fishingrod
          • 📄config_functions
          • 📄config_language
          • 📄config_seashells
          • 📄config_tournament
          • 📄config_upgrades
      • 🚛[QB] Garbage
        • 🛠️Installation
        • 🗒️Config
      • 🗝️[QB] GoldRush
        • 🛠️Installation
        • 🗒️Config
      • ⛰️[QB] Hunting
        • 🛠️Installation
        • 🗒️Config
      • 🪵[QB] Lumberjack
        • 🛠️Installation
        • 🗒️Config
      • ⛏️[QB] Mining
        • 🛠️Installation
        • 🗒️Config
      • 🛢️[QB] Oil Factory
        • 🛠️Installation
        • ❓Common Questions
        • 🗒️Config
      • ☕[QB] Pond Coffee
        • 🛠️Installation
        • ❓Common Questions
        • 🗒️Config
      • 🚚[QB] Trucker
        • 🛠️Installation
        • 🗒️Config
          • 📄Functions
          • 📄Language
      • 🥃[QB] Vanilla
        • 🛠️Installation
        • 🗒️Config
      • 🛻[QB] Mechanic Run
        • 🛠️Installation
        • 🗒️Config
      • 🥃[QB] Bahamas
        • 🛠️Installation
        • 📄Config
      • 🔫[QB] Ammunation
        • 🛠️Installation
        • 📄Config
      • 🐟[QB] Pearls
        • 🛠️Installation
        • 📄Config
      • 🔓[QB] Impound
        • 🛠️Installation
        • 📄Config
        • ✅Garages
      • 🚘[QB] Vehicleshop
        • 🛠️Installation
        • 📄Config
          • Functions
          • Job
          • Language
        • ❓Common Questions
    • General
      • 🏕️[QB] Camping
        • 🛠️Installation
        • 🗒️Config
          • Consumables
          • Language
      • 🎄[QB] Christmas
        • 🛠️Installation
        • 🗒️Config
      • 🎃[QB] Halloween
        • 🛠️Installation
        • 🗒️Config
      • 📔[QB] Insurance
        • 🛠️Installation
        • 🖥️Compatibilities
        • 🗒️Config
        • 🔁Server-Exports
      • 🏘️[QB] Vespucci
        • 🛠️Installation
        • 🗒️Config
          • Brewery
          • Digital Den
          • Masquerade
          • Pro Bikes
      • 🏖️[QB] Beach Activities
        • 🛠️Installation
        • 🗒️Config
      • 🚘[QB] Car Rental
        • 🛠️Installation
        • 📄Config
        • 🖥️Compatibilities
      • ✈️[QB] Sky Racing
        • 🛠️Installation
        • 📄Config
      • 🚘[QB] Car Wash
        • 🛠️Installation
        • 📄Config
      • 🪨[QB] Grinder
        • 🛠️Installation
        • 📄Config
      • 📹[QB] SpyCams & CCTV's
        • 🛠️Installation
        • 📄Config
      • 🏠[QB] Motel
        • 🛠️Installation
        • 📄Config
        • 🖥️Compatibilities
      • 🏚️[QB] Job Center
        • 📄Config
      • 🛠️[QB] Crafting
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
    • Illegal
      • 🔫[QB] Gangs
        • 🛠️Installation
        • 🗒️Config
      • 🔔[QB] Drug Selling
        • 🗒️Config
      • 🌱[QB] Drugs
        • 🛠️Installation
        • 🗒️Config
      • 🍯[QB] Craft Potion
        • 🛠️Installation
        • 🗒️Config
      • 🅱️[QB] Blackmarket
        • 🛠️Installation
        • 🗒️Config
          • config_functions
          • config_language
      • 🚗[QB] Car Thief
        • 🗒️Config
      • 🏠[QB] House Robbery
        • 🛠️Installation
        • 🗒️Config
      • 💎[QB] Jewelry
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • ®️[QB] Mini Robberys
        • 🛠️Installation
        • 🗒️Config
      • 💰[QB] MoneyWash
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 🔫[QB] Rob NPC
        • 🛠️Installation
        • 🗒️Config
      • 🏃‍♂️[QB] Runs
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • ⛽[QB] Steal Fuel
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 🏬[QB] Store Robbery
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 🪛[QB] Scrapyard
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 👾[QB] Territories
        • 🛠️Installation
        • 📄Config
          • Functions
      • 🏨[QB] GoPostal
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
          • S_utils
  • ESX
    • Jobs
      • 🚗[ESX] Tunerjob
        • ❗Dependencies
        • 🛠️Installation
          • ℹ️OX-Inventory
          • ℹ️QS-Inventory
        • 🗒️Config
          • BlacklistVehicles
          • Craft
          • Functions
          • Language
          • Targets
          • Wraps
          • Events
        • ❓Common Questions
      • 🚚[ESX] Trucker
        • 🛠️Installation
        • 🗒️Config
          • 📄Functions
          • 📄Language
      • 🪵[ESX] Lumberjack
        • 🛠️Installation
        • 🗒️Config
      • 🛻[ESX] Mechanic Run
        • 🛠️Installation
        • 🗒️Config
      • ⛏️[ESX] Mining
        • 🛠️Installation
        • 🗒️Config
      • 🎣[ESX] Fishing
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
          • Diving
          • Fishingnet
          • Fishingrod
          • Seashells
          • Tournament
          • Upgrades
    • General
      • 🚘[ESX] Car Rental
        • 🛠️Installation
        • 🗒️Config
      • 📃[ESX] Insurance
        • 🛠️Installation
        • 🖥️Compatibilities
        • 📄Config
        • 🔁 Server-Exports
      • 🚘[ESX] Car Wash
        • 🛠️Installation
        • 📄Config
      • 📹[ESX] SpyCams & CCTV's
        • 🛠️Installation
        • 📄Config
        • 🏠[ESX] Motel
          • 🛠️Installation
          • 📄Config
          • 🖥️Compatibilities
      • 🛠️[ESX] Crafting
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
      • 🎄[ESX] Christmas
        • 🛠️Installation
        • 📄Configs
    • Illegal
      • 🔫[ESX] Gangs
        • 🛠️Installation
        • 📄Config
        • ❓Common Questions
      • 🅱️[ESX] Blackmarket
        • 🛠️Installation
        • 🗒️Config
          • config_functions
          • config_language
      • 🏨[ESX] GoPostal
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
          • S_utils
  • Both Framework
    • Scripts
      • 🚗Car Rebuild
        • 🛠️Installation
        • 🗒️Config
      • 🗺️City Guide
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
      • 🛒Shops
        • 📄Config
        • 🛠️Installation
      • 🔁Reputation
        • 📄Config
        • 🛠️Installation
        • ⁉️Exports & Commands
          • Server Exports
          • Commands
      • 💤AFK System
        • 📄Configs
        • 🛠️Installation
      • 🚗Garages
        • 🛠️Installation
        • 📑User Guide
          • Create Garages
          • Create Private Garage
          • Impound & Auctions
          • Add vehicle to gang/job
          • Commands
      • ✈️Airplane Job
        • 🛠️Installation
        • 📃Configs
        • ℹ️Exports
      • 📋Scoreboard
        • 📃Config
      • 📦StorageUnits
        • 🛠️Installation
        • 📃Config
Powered by GitBook
On this page
  1. ESX
  2. General
  3. [ESX] Insurance

Config

Config = {}

-- General Settings --
Config.Core = "qb-core" -- Your qb-core folder name
Config.Target = "qb" -- "qb" or "ox"
Config.Inventory = "oldqb" -- "oldqb" or "newqb" or "ox" or "qs" ( open code on s_utils.lua )
Config.EmoteMenu = "rp" -- "rp" or "dp" or "scully" or "aty_emote" or "cylex_animmenuv2" or "r_animations" ( open code on config_functions.lua )
Config.Notify = "ox" -- "standalone", "qb" or "okok" or "ox" ( open code on config_functions.lua )
Config.Society = "qb-management" -- "qb-management" or "qb-banking" or "okokBanking" or "renewed-banking" ( open code on s_utils.lua )
Config.AutoDatabase = true -- If you set this to true, all the database tables to DB will be done automatically
Config.Language = "pt" -- "pt" or "en"
-- General Settings --


-- Commands -- 
Config.Commands = { -- All of this commands are open code on server/s_commands.lua
    ["general"] = {
        [1] = { command = "carinsurance", description = "Open the insurance menu", enable = true, jobs = {"police"} }, -- This command only works if you use needJob = true
        [2] = { command = "healthinsurance", description = "Open the health insurance menu", enable = true, jobs = {"ambulance"} }, -- This command only works if you use needJob = true
        [3] = { command = "homeinsurance", description = "Open the home insurance menu", enable = true, jobs = {"realestate"} }, -- This command only works if you use needJob = true
        [4] = { command = "myinsurances", description = "Check your insurances", enable = true }, -- This is a general command for all users
    },
    ["police"] = {
        [1] = { command = "checkvehicle", description = "Check vehicle information with plate", enable = true, jobs = {"police"} }, -- This is a command for police check informations about a vehicle
    },
}
-- Commands -- 


-- Car Insurance Settings --
Config.carInsurance = { -- This is the settings for the car insurance and registration
    needJob = false, -- If you want to use this script with a job, set it to true. If you want to use it without a job, set it to false
    menuZone = vector3(-37.27, -231.46, 45.83), -- This is the settings for the insurance menu if you use needJob = true
    blipSettings = { enable = true, sprite = 225, color = 1, scale = 0.7, name = "Car Insurance" }, -- This is the settings for the blip
    job = "police", -- If you want to use this script with a job, add the job name here
    society = { 
        enable = false, -- If you want to use this script with a job, set it to true
        name = "society_police", -- If you want to use this script with a job, add the society name here
    },
    pedSettings = { pedModel = "s_m_y_dealer_01", pedCoords = vector4(-37.15, -232.1, 45.83, 69.09) }, -- Only spawn if you use without job
    stash = { weight = 25000, slots = 20, name = "Car Insurance" },
    recoverDocumentation = { -- This is the settings for the recover documentation
        registration = 500, -- This is the price for the registration documentation
        insurance = 500, -- This is the price for the insurance documentation
     },
    insuranceTypes = { -- This is the settings for the insurance types
        [1] = { type = "registration", price = 500, days = { 30, 60, 90 } },
        [2] = { type = "insurance", price = 1000, days = { 30, 60, 90 } },
    },
    vehicleClassPrices = { -- https://docs.fivem.net/natives/?_0x29439776AAA00A62
        enable = true, -- If you want to use this feature, set it to true
        prices = { -- This is the prices for each vehicle class
            [0] = 1.2, -- Compacts: price x 1.2
            [1] = 1.2, -- Sedans: price x 1.2
            [2] = 1.2, -- SUV's: price x 1.2
            [3] = 1.2, -- Coupes: price x1.2
            [4] = 1.2, -- Muscle: price x 1.2
            [5] = 1.2, -- Sports Classics: price x 1.2
            [6] = 1.2, -- Sports: price x 1.2
            [7] = 1.2, -- Super: price x 1.2
            [8] = 1.2, -- Motorcycles: price x 1.2
            [9] = 1.2, -- Off-road: price x 1.2
            [10] = 1.2, -- Industrial: price x 1.2
            [11] = 1.2, -- Utility: price x 1.2
            [12] = 1.2, -- Vans: price x 1.2
            [13] = 1.2, -- Cycles: price x 1.2
            [14] = 1.2, -- Boats: price x 1.2
            [15] = 1.2, -- Helicopters: price x 1.2
            [16] = 1.2, -- Planes: price x 1.2
            [17] = 1.2, -- Service: price x 1.2
            [18] = 1.2, -- Emergency: price x 1.2
            [19] = 1.2, -- Military: price x 1.2
            [20] = 1.2, -- Commercial: price x 1.2
            [21] = 1.2, -- Trains: price x 1.2
            [22] = 1.2, -- Open Wheel: price x 1.2
        }
    }
}
-- Car Insurance Settings --


-- Health Insurance Settings --
Config.healthInsurance = { -- This is the settings for the health insurance
    needJob = false, -- If you want to use this script with a job, set it to true. If you want to use it without a job, set it to false
    menuZone = vector3(311.47, -594.05, 43.28), -- This is the settings for the insurance menu if you use needJob = true
    blipSettings = { enable = true, sprite = 153, color = 1, scale = 0.7, name = "Health Insurance" }, -- This is the settings for the blip
    job = "ambulance", -- If you want to use this script with a job, add the job name here
    society = {
        enable = false, -- If you want to use this script with a job, set it to true
        name = "society_ambulance", -- If you want to use this script with a job, add the society name here
    },
    pedSettings = { pedModel = "s_m_y_dealer_01", pedCoords = vector4(311.47, -594.05, 43.28, 341.52) }, -- Only spawn if you use without job
    stash = { weight = 25000, slots = 20, name = "Health Insurance" },
    recoverDocumentation = { -- This is the settings for the recover documentation
        insurance = 500, -- This is the price for the insurance documentation
    },
    insuranceTypes = { -- This is the settings for the insurance types
        [1] = { type = "health", price = 500, days = { 30, 60, 90 } },
    },
}
-- Health Insurance Settings --


-- Home Insurance Settings --
Config.homeInsurance = {
    needJob = false, -- If you want to use this script with a job, set it to true. If you want to use it without a job, set it to false
    menuZone = vector3(-168.09, 6331.38, 31.63), -- This is the settings for the insurance menu if you use needJob = true
    blipSettings = { enable = true, sprite = 350, color = 1, scale = 0.7, name = "Home Insurance" }, -- This is the settings for the blip
    job = "realestate", -- If you want to use this script with a job, add the job name here
    society = {
        enable = false, -- If you want to use this script with a job, set it to true
        name = "society_police", -- If you want to use this script with a job, add the society name here
    },
    pedSettings = { pedModel = "s_m_y_dealer_01", pedCoords = vector4(-168.09, 6331.38, 31.63, 317.6) }, -- Only spawn if you use without job
    stash = { weight = 25000, slots = 20, name = "Home Insurance" },
    recoverDocumentation = { -- This is the settings for the recover documentation
        insurance = 500, -- This is the price for the insurance documentation
    },
    insuranceTypes = { -- This is the settings for the insurance types
        [1] = { type = "home", price = 500, days = { 30, 60, 90 } },
    },
}
-- Home Insurance Settings --
ESX = exports.es_extended:getSharedObject()

function Notify(text, type, time)
    if Config.Notify == "standalone" then
        BeginTextCommandThefeedPost("STRING")
        AddTextComponentSubstringPlayerName(text)
        EndTextCommandThefeedPostTicker(true, true)
    elseif Config.Notify == "okok" then
        exports['okokNotify']:Alert('Notification', text, time, type, true)
    elseif Config.Notify == "ox" then
        lib.notify({ title = 'Notification', description = text, type = type })
    end
end

function OpenStash(weight, slots, name)
    if Config.Inventory == "qs" then
        TriggerServerEvent("m-Insurance:Server:OpenStash", weight, slots, name)
    elseif Config.Inventory == "ox" then
       exports.ox_inventory:openInventory('stash', name)
    end
end

function MakeAnimation(animation)
    if Config.EmoteMenu == "dp" then
        TriggerEvent('animations:client:EmoteCommandStart', {animation})
    elseif Config.EmoteMenu == "rp" then
        exports["rpemotes"]:EmoteCommandStart(animation)
    elseif Config.EmoteMenu == "scully" then
        exports["scully_emotemenu"]:playEmoteByCommand(animation)
    elseif Config.EmoteMenu == "aty_emote" then
        exports.aty_emote:PlayEmote(animation)
    elseif Config.EmoteMenu == "cylex_animmenuv2" then
        exports['cylex_animmenuv2']:playEmote(animation)
    elseif Config.EmoteMenu == "r_animations" then
        exports['r_animations']:StartAnimationPlay(animation)
    else
        print("Missing or write wrong on: Config.EmoteMenu")
    end
end

function CancelAnimation()
    if Config.EmoteMenu == "dp" then
        TriggerEvent('animations:client:EmoteCommandStart', {"c"})
    elseif Config.EmoteMenu == "rp" then
        exports["rpemotes"]:EmoteCommandStart("c")
    elseif Config.EmoteMenu == "scully" then
        exports["scully_emotemenu"]:cancelEmote()
    elseif Config.EmoteMenu == "aty_emote" then
        exports.aty_emote:CancelEmote()
    elseif Config.EmoteMenu == "cylex_animmenuv2" then
        exports['cylex_animmenuv2']:playEmote('c')
    elseif Config.EmoteMenu == "r_animations" then
        exports['r_animations']:StopAnimation()
    else
        print("Missing or write wrong on: Config.EmoteMenu")
    end
end
Language = {
    ["pt"] = {
        -- Targets
        openInsuranceMenu = "Abrir Menu do Seguro",
        openHealthInsuranceMenu = "Abrir Menu do Seguro de Saúde",
        openHomeInsuranceMenu = "Abrir Menu do Seguro de Casa",
        
        -- Notificações
        vehicleAlreadyRegisted = "Este veículo já está registado.",
        vehicleRegistedSuccessfully = "Veículo registado com sucesso.",
        vehicleFailedRegisted = "Falha ao registar o veículo.",
        vehicleAlreadyInsured = "Este veículo já está segurado.",
        vehicleInsuredSuccessfully = "Seguro do veículo concluído com sucesso.",
        vehicleFailedInsured = "Falha ao realizar o seguro do veículo.",
        insuranceDocumentsRecover = "Documentação do seguro recuperada com sucesso!",
        vehicleDontHaveInsurance = "Este veículo não possui seguro.",
        registrationDocumentsRecover = "Documentação de registo recuperada com sucesso!",
        vehicleDontHaveRegistration = "Este veículo não possui registo.",
        noMoneyToRecoverDocuments = "Não tens dinheiro suficiente para recuperar os documentos.",
        invalidDocumentType = "Tipo de documento inválido.",
        invalidAccidentData = "Dados do relatório de acidente inválidos recebidos.",
        vehicleHasBeenReportedStolen = "O veículo foi reportado como roubado.",
        vehicleAlreadyReportedStolen = "O veículo já foi reportado como roubado.",
        vehicleRecoveredSuccessfully = "O veículo foi recuperado com sucesso.",
        failedToRecoverVehicle = "Falha ao recuperar o veículo.",
        accidentReportSaved = "Relatório de acidente guardado com sucesso.",
        accidentReportFailed = "Falha ao guardar o relatório de acidente.",
        accidentReportUpdated = "Relatório de acidente atualizado com sucesso.",
        accidentReportUpdateFailed = "Falha ao atualizar o relatório de acidente.",
        accidentReportDeleted = "Relatório de acidente apagado com sucesso.",
        accidentReportDeleteFailed = "Falha ao apagar o relatório de acidente.",
        vehicleDocumentsSuspended = "Os documentos do veículo foram suspensos.",
        vehicleDocumentsAlreadySuspended = "Os documentos do veículo já estão suspensos.",
        vehicleDocumentsRecovered = "Os documentos do veículo foram recuperados.",
        vehicleDocumentsAlreadyRecovered = "Os documentos do veículo já foram recuperados.",
        playerDataNotFound = "Dados do jogador não encontrados.",
        insuranceRemovedSuccessfully = "Seguro removido com sucesso.",
        insuranceFailedRemove = "Falha ao remover o seguro.",
        registrationRemoveSuccessfully = "Registo removido com sucesso.",
        registrationFailedRemove = "Falha ao remover o registo.",
        healthInsuranceAlreadyPurchased = "Já tens seguro de saúde.",
        healthInsurancePurchasedSuccessfully = "Compraste o seguro de saúde com sucesso.",
        healthInsuranceFailedToPurchase = "Ocorreu um erro ao comprar o seguro de saúde.",
        healthInsuranceNotEnoughMoney = "Não tens dinheiro suficiente para comprar o seguro de saúde.",
        healthInsurancePlayerAlreadyHasInsurance = "Esse jogador já tem seguro de saúde.",
        healthInsuranceSuccessfullyPurchasedForPlayer = "Compraste com sucesso o seguro de saúde para %s.",
        healthInsuranceRecoveryFailed = "Falha ao recuperar o seguro de saúde.",
        healthInsuranceRecoverySuccessful = "Recuperaste com sucesso o seguro de saúde para %s.",
        healthInsuranceNotFound = "Esse jogador não tem seguro de saúde.",
        healthInsuranceDocumentationNotEnoughMoney = "Não tens dinheiro suficiente para recuperar a documentação do seguro de saúde.",
        healthInsuranceDocumentationRecoveredSuccessfully = "Recuperaste com sucesso a documentação do seguro de saúde.",
        healthInsuranceDocumentationRecoveryFailed = "Falha ao recuperar a documentação do seguro de saúde.",
        
        homeInsuranceAlreadyPurchased = "Já tens seguro de casas.",
        homeInsurancePurchasedSuccessfully = "Compraste o seguro de casa com sucesso.",
        homeInsuranceFailedToPurchase = "Ocorreu um erro ao comprar o seguro de casa.",
        homeInsuranceNotEnoughMoney = "Não tens dinheiro suficiente para comprar o seguro de casa.",
        homeInsurancePlayerAlreadyHasInsurance = "Esse jogador já tem seguro de casa.",
        homeInsuranceSuccessfullyPurchasedForPlayer = "Compraste com sucesso o seguro de casa para %s.",
        homeInsuranceRecoveryFailed = "Falha ao recuperar o seguro de casa.",
        homeInsuranceRecoverySuccessful = "Recuperaste com sucesso o seguro de casa para %s.",
        homeInsuranceNotFound = "Esse jogador não tem seguro de casa.",
        homeInsuranceDocumentationNotEnoughMoney = "Não tens dinheiro suficiente para recuperar a documentação do seguro de casa.",
        homeInsuranceDocumentationRecoveredSuccessfully = "Recuperaste com sucesso a documentação do seguro de casa.",
        homeInsuranceDocumentationRecoveryFailed = "Falha ao recuperar a documentação do seguro de casa.",
        
        cameraBought = "Compraste uma câmera com sucesso.",
        noMoneyToBuyCamera = "Não tens dinheiro suficiente para comprar uma câmera.",
        noInsuranceToBuyCamera = "Não tens seguro no veículo para comprar uma câmera.",
        noInfoCamera = "This camera is not linked to any vehicle.",
        vehNeedToBeInGarage = "O veículo precisa estar fora da garagem para conseguires usar a câmera.",
        cantActiveCamera = "O veículo precisa de estar estacionado ou parado para conseguires usar a câmera.",
        vehStartMoving = "O veículo começou a mover-se, a câmera foi desativada.",
        vehNotFound = "Veículo não encontrado.",
        
        noMoney = "Não tens dinheiro suficiente.",
    },
    ["en"] = {
        -- Targets
        openInsuranceMenu = "Open Insurance Menu",
        openHealthInsuranceMenu = "Open Health Insurance Menu",
        openHomeInsuranceMenu = "Open Home Insurance Menu",
        
        -- Notifications
        vehicleAlreadyRegisted = "This vehicle is already registered.",
        vehicleRegistedSuccessfully = "Vehicle registered successfully.",
        vehicleFailedRegisted = "Failed to register the vehicle.",
        vehicleAlreadyInsured = "This vehicle is already insured.",
        vehicleInsuredSuccessfully = "Vehicle insurance completed successfully.",
        vehicleFailedInsured = "Failed to insure the vehicle.",
        insuranceDocumentsRecover = "Insurance documents successfully recovered!",
        vehicleDontHaveInsurance = "This vehicle does not have insurance.",
        registrationDocumentsRecover = "Registration documents successfully recovered!",
        vehicleDontHaveRegistration = "This vehicle does not have registration.",
        noMoneyToRecoverDocuments = "You do not have enough money to recover the documents.",
        invalidDocumentType = "Invalid document type.",
        invalidAccidentData = "Invalid accident report data received.",
        vehicleHasBeenReportedStolen = "The vehicle has been reported as stolen.",
        vehicleAlreadyReportedStolen = "The vehicle has already been reported as stolen.",
        vehicleRecoveredSuccessfully = "The vehicle was successfully recovered.",
        failedToRecoverVehicle = "Failed to recover the vehicle.",
        accidentReportSaved = "Accident report saved successfully.",
        accidentReportFailed = "Failed to save the accident report.",
        accidentReportUpdated = "Accident report updated successfully.",
        accidentReportUpdateFailed = "Failed to update the accident report.",
        accidentReportDeleted = "Accident report deleted successfully.",
        accidentReportDeleteFailed = "Failed to delete the accident report.",
        vehicleDocumentsSuspended = "Vehicle documents have been suspended.",
        vehicleDocumentsAlreadySuspended = "Vehicle documents are already suspended.",
        vehicleDocumentsRecovered = "Vehicle documents have been recovered.",
        vehicleDocumentsAlreadyRecovered = "Vehicle documents have already been recovered.",
        playerDataNotFound = "Player data not found.",
        insuranceRemovedSuccessfully = "Insurance removed successfully.",
        insuranceFailedRemove = "Failed to remove the insurance.",
        registrationRemoveSuccessfully = "Registration removed successfully.",
        registrationFailedRemove = "Failed to remove the registration.",
        healthInsuranceAlreadyPurchased = "You already have health insurance.",
        healthInsurancePurchasedSuccessfully = "You successfully purchased health insurance.",
        healthInsuranceFailedToPurchase = "An error occurred while purchasing health insurance.",
        healthInsuranceNotEnoughMoney = "You do not have enough money to purchase health insurance.",
        healthInsurancePlayerAlreadyHasInsurance = "This player already has health insurance.",
        healthInsuranceSuccessfullyPurchasedForPlayer = "You successfully purchased health insurance for %s.",
        healthInsuranceRecoveryFailed = "Failed to recover health insurance.",
        healthInsuranceRecoverySuccessful = "Successfully recovered health insurance for %s.",
        healthInsuranceNotFound = "This player does not have health insurance.",
        healthInsuranceDocumentationNotEnoughMoney = "You do not have enough money to recover health insurance documentation.",
        healthInsuranceDocumentationRecoveredSuccessfully = "Successfully recovered health insurance documentation.",
        healthInsuranceDocumentationRecoveryFailed = "Failed to recover health insurance documentation.",
        
        homeInsuranceAlreadyPurchased = "You already have home insurance.",
        homeInsurancePurchasedSuccessfully = "You successfully purchased home insurance.",
        homeInsuranceFailedToPurchase = "An error occurred while purchasing home insurance.",
        homeInsuranceNotEnoughMoney = "You do not have enough money to purchase home insurance.",
        homeInsurancePlayerAlreadyHasInsurance = "This player already has home insurance.",
        homeInsuranceSuccessfullyPurchasedForPlayer = "You successfully purchased home insurance for %s.",
        homeInsuranceRecoveryFailed = "Failed to recover home insurance.",
        homeInsuranceRecoverySuccessful = "Successfully recovered home insurance for %s.",
        homeInsuranceNotFound = "This player does not have home insurance.",
        homeInsuranceDocumentationNotEnoughMoney = "You do not have enough money to recover home insurance documentation.",
        homeInsuranceDocumentationRecoveredSuccessfully = "Successfully recovered home insurance documentation.",
        homeInsuranceDocumentationRecoveryFailed = "Failed to recover home insurance documentation.",

        cameraBought = "You successfully bought a camera.",
        noMoneyToBuyCamera = "You do not have enough money to buy a camera.",
        noInsuranceToBuyCamera = "You do not have insurance on the vehicle to buy a camera.",
        noInfoCamera = "This camera is not linked to any vehicle.",
        vehNeedToBeInGarage = "The vehicle needs to be out of the garage to be able to use the camera.",
        cantActiveCamera = "The vehicle needs to be parked or stopped to be able to use the camera.",
        vehStartMoving = "The vehicle started moving, the camera was disabled.",
        vehNotFound = "Vehicle not found.",
        
        noMoney = "You do not have enough money.",
    }  
}
PreviousCompatibilitiesNext🔁 Server-Exports

Last updated 3 months ago

📃
📄