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 UI is not opening

  • If the UI fails to open, do a fresh script installation as detailed above.
  • 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.

I'm getting this SQL error (Illegal mix of collations), how to fix?

Run this sql in your database:

ALTER TABLE `dealership_requests`
	CHANGE COLUMN `dealership_id` `dealership_id` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_unicode_ci' AFTER `id`,
	CHANGE COLUMN `user_id` `user_id` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_unicode_ci' AFTER `dealership_id`,
	CHANGE COLUMN `vehicle` `vehicle` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_unicode_ci' AFTER `user_id`,
	CHANGE COLUMN `plate` `plate` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_unicode_ci' AFTER `vehicle`,
	CHANGE COLUMN `color` `color` VARCHAR(255) NOT NULL DEFAULT '[]' COLLATE 'utf8mb4_unicode_ci' AFTER `request_type`,
	CHANGE COLUMN `name` `name` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_unicode_ci' AFTER `color`;

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 start any job or my truck is not spawning

  • Check if you have any anticheat or blacklist blocking the vehicles to spawn.
  • Check if you correctly configured your keys and fuel script in the lc_utils script config.

The players are loosing their dealerships

  • It happens when the owner doesn't have enough stock in his dealership.
  • You can precisely configure it or even disable it in the config. Search for Config.clear_dealerships in your config.

I purchased a vehicle but it's not appearing in my garage

  • The script is compatible with the default ESX or QBCore garage systems. If your server uses a custom garage system, it might not be compatible by default.
  • To address this, locate the Utils.Framework.givePlayerVehicle function inside the lc_utils folder. You will need to modify the "INSERT INTO" statement for your garage within this function. For guidance on how to do this, refer to the documentation of your garage system.
  • We cannot provide support for custom garages.

The owned vehicles page is empty

  • Only the vehicles available at that dealership will appear on the owned page, so you won't see a bike at a dealership that only sells cars

I have to hotwire/lockpick the vehicles

  • Your keys script has not been configured correctly. You can do that in the lc_utils script config.
  • If you dont have your key script pre-built there, it's necessary to set the config to "other" and configure the export in the lc_utils/custom_scripts/client/keys.lua file.

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

Is it possible to add more dealerships?

  • Absolutely! You possess the creative freedom to add any dealerships.
  • Simply replicate the existing dealerships configured as an example to create more.

How to add addon cars?

  • Just add them like any other vehicle in config, addon vehicles does not require any special config.

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.