TebexDiscordYouTubeTwitch
  • šŸ‘‹Introduction
  • Information
    • šŸ’¬Discord Roles
    • šŸ”FiveM Asset Escrow
    • šŸ¤Support Plans
    • 🌐Showcase Server
    • ā‰ļøFrequently Asked Questions
    • ⭐Staff & Beta Tester Applications
  • Paid Resources
  • šŸ›”ļøPHYLAX AC
  • šŸ”«BetterFight Evolved
    • šŸ“šAbout BFE
      • šŸ’ā€ā™€ļøFeatures
        • šŸŽÆRecoil System
        • šŸ’¢Crosshair System
        • šŸ”„Temperature System & Jamming
        • šŸ”«Weapon Damages
        • šŸŽ„ViewCam Enforcer
        • ā™ØļøTriggerbot System
        • 🦘Jump Spam & Roll Prevention
        • 🄢Remove Whipping & Melee One Shot Prevention
      • šŸ”Dependencies & Compatibility
      • ⚔Optimization
      • šŸ›”ļøSecurity
      • šŸ”Encryption - FiveM Escrow
      • šŸ†•Changelogs
    • āš™ļøConfiguration Settings
      • āš™ļøMaster Config
      • āš™ļøWeapons Config
      • āš™ļøSecurity Config
      • āš™ļøDiscord Logs Config
    • ā¤µļøBase Installation
    • ā¬…ļøExports
  • šŸŖStore Robberies Evolved
    • šŸ“šAbout SRE
      • šŸ’ā€ā™€ļøFeatures
        • šŸ‘Øā€šŸ’¼AI Shopkeeper System
          • šŸ—£ļøTasks & Behaviors
          • 🤠Character Manipulation
        • šŸ”«Realistic Robbery Mechanics
        • 🚨Security Systems and Measures
        • šŸ› ļøCustomizable Store Configuratins
      • šŸ”Dependencies & Compatibility
      • ⚔Optimization
      • šŸ›”ļøSecurity
      • šŸ”Encryption - FiveM Escrow
      • šŸ†•Changelogs
    • āš™ļøConfiguration Settings
      • āš™ļøMaster Config
      • āš™ļøStores Config
        • āš™ļøGlobal Store Settings
        • āš™ļøIndividual Store Settings
          • āš™ļøMain Settings
          • āš™ļøPolyzone Settings
          • āš™ļøShopkeeper Settings
          • āš™ļøStealable Settings
          • āš™ļøSecurity Settings
      • āš™ļøAI NPC Config
        • āš™ļøShopkeeper Character Settings
        • āš™ļøShopkeeper Animation List
        • āš™ļøShopkeeper Speech List
      • āš™ļøPlayer Speech List
      • āš™ļøSecurity Config
      • āš™ļøDiscord Logs Config
    • ā¤µļøBase Installation
    • šŸ›”ļøSecurity Integration
    • ā¬…ļøExports
  • šŸ‘ļøHawkEye Surveillance
    • šŸ“šAbout HES
      • šŸ’ā€ā™€ļøFeatures
        • šŸ“¹CCTV Cameras
        • 🌐Jammers & Tracker
        • šŸ› ļøDynamic Configurations
      • šŸ”Dependencies & Compatibility
      • ⚔Optimization
      • šŸ›”ļøSecurity
      • šŸ”Encryption - FiveM Escrow
      • šŸ†•Changelogs
    • āš™ļøConfiguration Settings
      • āš™ļøMaster Config
      • āš™ļøCamera & Jammer Config
        • āš™ļøItems
        • āš™ļøCamera Settings
      • āš™ļøSecurity Config
      • āš™ļøDiscord Logs Config
    • ā¤µļøBase Installation
    • šŸ›”ļøSecurity Integration
    • ā¬…ļøExports
  • šŸ¦Pacific Bank Robbery
    • šŸ“šAbout PBR
      • šŸ’ā€ā™€ļøFeatures
        • šŸ‘Øā€šŸ‘©ā€šŸ‘¦Ped Handler & Security Guards
        • šŸ’”Vault Breaching Methods
        • šŸ”’Laser Security System
        • šŸ’°Stealables & Robbery Mechanics
        • 🚪Doorlocks & Alarm System
        • šŸ–„ļøServer Synchronization
        • šŸ› ļøExtensive Configurations
      • šŸ”Dependencies & Compatibility
      • ⚔Optimization
      • šŸ›”ļøSecurity
      • šŸ”Encryption - FiveM Escrow
      • šŸ†•Changelogs
    • āš™ļøConfiguration Settings
      • āš™ļøMaster Config
      • āš™ļøBank Config
      • āš™ļøSecurity Config
      • āš™ļøDiscord Logs Config
    • ā¤µļøBase Installation
    • ā¬…ļøExports
  • šŸ¦Paleto Bank Robbery
    • šŸ“šAbout PBR
      • šŸ’ā€ā™€ļøFeatures
        • šŸ‘Øā€šŸ‘©ā€šŸ‘¦Ped Handler & Security Guards
        • šŸ’”Vault Breaching Methods
        • šŸŖ›Locker Drilling
        • šŸ’°Stealables & Robbery Mechanics
        • 🚪Doorlocks & Alarm System
        • šŸ–„ļøServer Synchronization
        • šŸ› ļøExtensive Configurations
      • šŸ”Dependencies & Compatibility
      • ⚔Optimization
      • šŸ›”ļøSecurity
      • šŸ”Encryption - FiveM Escrow
      • šŸ†•Changelogs
    • āš™ļøConfiguration Settings
      • āš™ļøMaster Config
      • āš™ļøBank Config
      • āš™ļøAI NPC Config
      • āš™ļøSecurity Config
      • āš™ļøDiscord Logs Config
    • ā¤µļøBase Installation
    • ā¬…ļøExports
  • 🚘The Complete Vehicle System
    • šŸ“™About TCVS
      • šŸ’ā€ā™€ļøFeatures
      • šŸ”Dependencies & Compatibility
      • ⚔Optimization
      • šŸ›”ļøSecurity
      • šŸ”Encryption - FiveM Escrow
      • šŸ†•Changelogs
    • ā¤µļøBase Installation
    • āš™ļøConfiguration Settings
      • āš™ļøMaster Config
      • āš™ļøSecurity Config
      • āš™ļøDiscord Logs Config
      • āš™ļøPublic Garages Config
      • āš™ļøPrivate Garages Config
      • āš™ļøImpound Config
      • āš™ļøInsurance Config
      • āš™ļøParts Config
      • āš™ļøLocksystem Config
      • āš™ļøTrackers Config
      • āš™ļøVehicle Info Config
    • šŸš—Vehicle Shop Integration
    • šŸ‘Øā€šŸ”§Mechanic Integration
    • šŸ›”ļøSecurity Integration
    • šŸš€Snippets
      • ā­•QB-RadialMenu
    • ā¬…ļøExports
Powered by GitBook
On this page

Was this helpful?

  1. The Complete Vehicle System
  2. Configuration Settings

Vehicle Info Config

Integrated vehicle types and pricing for stock vehicles.

PreviousTrackers ConfigNextVehicle Shop Integration

Last updated 1 year ago

Was this helpful?

This portion of the resource is tasked with identifying the vehicle type and pricing for each vehicle in use on the server. While all vanilla vehicles are preconfigured, be sure to include custom addon vehicles to ensure the resource functions correctly.

Config.UseTCVS_Vehicle_Info = true
Config.UseTCVS_Vehicle_Info_Type = true

Toggle the use of TCVS Vehicle Info. We recommend having this set to true by default unless you know what you are doing.

In case you disable this feature you must edit the code for your specific framework through shared/functions.lua - getVehicleType function.

Config.UseTCVS_Vehicle_Info_Type = true

Toggle the use of TCVS Vehicle Info Insurance Pricing. We recommend having this set to true by default unless you know what you are doing.


Example

adder = {
    price = 86065,
    type = "automobile"
}

To begin, we generate a table using the vehicle's spawn name, such as "adder." It's essential not to convert it to a string, but rather follow the provided example. Subsequently, we set the initial purchase price for the vehicle and specify its vehicle type.

You can set the type to anything you want, even custom nametags. It is used throughout other configs (garages, impound, insurance).

The pricing is only used by the insurance fee. If you have it set to a flat fee you do not need to worry about this value.

In our base configuration the insurance system will calculate the respawn pricing to be: 86065āˆ—0.05=4303.2586065 * 0.05 = 4303.2586065āˆ—0.05=4303.25

🚘
āš™ļø
āš™ļø