Luxart Engineering
ProductsDocsDiscordDownload
  • Welcome to Luxart Engineering
  • 🗺️Product Roadmaps
  • ➕Frameworks & Exports
  • Fleet
    • 🚔What is LVC:Fleet?
    • 📄Resource Installation
      • 🛠️Customize VCFs
      • ⚙️Configure Base Settings
      • 💻Advanced Configuration
    • 🎮In Game Use Guide
      • LVC:Fleet Menu
  • v3
    • 📄Resource Installation
      • Configure Base Settings
      • Configure Sirens
      • Assign Sirens
      • Advanced Configuration
      • Server Sided Siren Integration
    • ❔FAQ
  • Shared Plugins
    • 🔌Introduction to Plugins
    • 🔦Take-downs
    • 🎮Extra Controls
    • ⚡Extra Integrations
    • 🔛Traffic Advisor
    • 🚛Trailer Support
  • Pro Laser 4
    • 📄Resource Installation
    • 💾Persistent Records & Tablet
    • 🎮In Game Use Guide
    • 📩Framework Guide
Powered by GitBook
On this page
  • Frequently Asked Questions
  • Why is this vehicle still using the default profile even after I created a table in SIRENS_ASSIGNMENTS?
  • How do I fix "SCRIPT ERROR: @lvc/UTIL/cl_utils.lua:XX bad argument #1 to 'pairs' (table expected, got nil)"?

Was this helpful?

Edit on GitHub
  1. v3

FAQ

Frequently asked question about LVC:v3.

PreviousServer Sided Siren IntegrationNextIntroduction to Plugins

Last updated 2 years ago

Was this helpful?

Frequently Asked Questions

Why is this vehicle still using the default profile even after I created a table in SIRENS_ASSIGNMENTS?

The most likely cause for this is the use of an incorrect key in SIRENS_ASSIGNMENTS. The key in siren assignments needs to align with the vehicles <gameName> as found in vehicles.meta. The keys first 11 characters also need to be unique due to base game limitations.

To verify this look at these two methods:

  • In game using LVC debug: Enter the car in question, use command /lvcdebug this will display a notification with the gameName and log other useful information to the F8 console.

  • In game using menu: Enter the car in questions, navigate to 'Storage Management'. The description of the 'Save Profile' button will read "Using DEFAULT profile for "<gameName>". Ensure this matches identically (case-sensitive) to the key as outlined in SIREN_ASSIGNMENTS.

  • Out of game using vehicles.meta: Locate the vehicles.meta file and verify that the vehicle in questions <gameName>XXXXXXXX</gameName> = ['XXXXXXXX'] in SIREN_ASSIGNMENTS.

How do I fix "SCRIPT ERROR: @lvc/UTIL/cl_utils.lua:XX bad argument #1 to 'pairs' (table expected, got nil)"?

This indicates that there was a problem loading your SIREN_ASSIGNMENTS table from your SIRENS.lua.

What causes the table to not be loaded?

  • Invalid symbol present:

    • You have accidentally made a typo and left a random symbol somewhere.

    • You pasted text from a website. Typically RequestScriptAudioBank(“XXX”, false). Where the the website uses UTF8 “ instead of ASCII ".

    • You have mismatched curly brackets. For every open bracket { there needs to be a closing bracket }. Too many of either will result in failure to load. Use a smart text editor like Notepad++ to highlight brackets or an online tool.

  • Missing SETTINGS.lua or missing SIREN_ASSIGNMENTS table in SIRENS.lua

❔
Why is this vehicle still using the default profile even after I created a table in SIRENS_ASSIGNMENTS?
How do I fix "SCRIPT ERROR: @lvc/UTIL/cl_utils.lua:XX bad argument #1 to 'pairs' (table expected, got nil)"?