Common Issues and FAQ

Common Issues and FAQ

Common Issues

Performing a Fresh Install

When troubleshooting errors, the initial step is to perform a fresh installation, as it resolves approximately 95% of the issues reported in support tickets. Carefully follow the guide below to ensure a successful fresh install.

Executing a fresh install is a critical procedure when encountering errors, even if you have just purchased the script and this is your first installation.

Refer to the fresh install guide to access the detailed steps for performing the process.

The /inspect command is not working

  • Make sure you are inside a vehicle that you own. The vehicle's plate must exist in your Owned Vehicles table within the database.
  • If you want to bypass the owned vehicle check (not recommended), you can disable it by modifying the Config.allowNpcVehicles setting.
  • Ensure that the vehicle class is enabled in the configuration. If it's not enabled, the UI won't open for that specific vehicle.
  • If you identify any errors in your F8 or the server console, review the list of common issues below on this page to see if any of them match your situation.
  • If the issue persists, it's possible that you may have skipped a step during installation or made a mistake, please double check the install steps.

No such export GetUtils in resource lc_utils

  • This error may occur when lc_utils has not been initialized. Please check in your server console for errors in the lc_utils file.
  • If lc_utils has been properly loaded without errors, this issue might be due to incorrect resource loading order in your server.cfg. Ensure that lc_utils is loaded before any of its dependencies.

I cannot install upgrades in my vehicle

  • Ensure that you have the appropriate job as a Mechanic to perform actions on your vehicle.
  • Verify that you have the required items in your inventory to carry out the upgrade. You can find the list of necessary items for each action in the config.

I've added a new upgrade but its not showing on UI

  • Each upgrade's INDEX parameter must be unique. If you have multiple upgrades with the same index, one may replace the other. Double-check the INDEX values to ensure they are distinct for each upgrade.

Error parsing script / Failed to load script

  • Your server artifacts are likely outdated. Update your server to version 5181 or above.
  • This error occurs when uploading the script with Filezilla. You must use something like WinSCP.

You lack the required entitlement to use <resource>

  • Try restarting your server and make sure your server key is correct. If you bought the resource on the wrong account, you can transfer it to another account on keymaster.

Failed to verify protected resource

  • Files were possibly corrupted during transfer. Ensure hidden files are copied; the .fxap file in a protected resource must be included. Some FTP programs skip these files.
  • This error occurs when uploading the script with Filezilla. You must use something like WinSCP.

FAQ

Does the script support bikes, boats, and airplanes?

  • Yes, the script does support bikes, boats, and airplanes. You can configure this by searching for the Config.enabledVehicles in the configuration file. There, you can enable or disable any vehicle class according to your preferences.

Is the script compatible with specific garage or other scripts?

  • The Advanced Vehicles script should be compatible with any garage script. It only interacts with the owned vehicles table in your database, so the garage script you use won't matter as long as there are no significant modifications to this table, it should function properly.
  • Regarding compatibility with other scripts, it may only have issues with the scripts that directly change vehicle physics.

Where can I get items for installing in my car?

  • The script does not include a market system for obtaining items to install in your car. Instead, you can add items for sale in any store script you have running on your server. This way, players can purchase the required items from in-game stores to use for car upgrades and installations.

How to change from KM to MPH?

  • Navigate to nui/script.js and update the first line to MPH.

How to change power of an engine/turbo or lower a suspension....?

  • Access the config file, locate the item you wish to configure within Config.upgrades, and modify its value according to your preference.

What does the scanner do?

  • The scanner is used to update the condition of maintenance items such as oil and brake pads. It provides information about the remaining health of each maintenance item.
  • Please note that the scanner is not an item you can use directly from your inventory. It is required when clicking the "Inspect" button within the /inspect UI.

Can I add more upgrades to the script?

  • Yes, you can easily add more upgrades by simply adding them to the config. To understand the meaning of each parameter, refer to the comments within the configuration file.
  • When introducing a new audio file, remember to include it in the fxmanifest as well.

How to adjust HUD position?

  • To change the position of the HUD open style.css and change the values in lines 23, 24 and 29, 30.

How to change the notification?

  • In lc_utils/custom_scripts/client/notification.lua file you can find the default script notification, replace the existing notification with yours.

How to customize the UI?

  • The UI's source code is unencrypted, allowing easy access to HTML, JS, and CSS files for customization. Proficiency in programming is necessary to make changes effectively.