Troubleshooting Guide

Solutions for common issues and error messages.

Error Codes

Info

If you encounter an error code not listed below, please open a support ticket in the Codesign Discord for assistance.

Server

  • 6458145 - #Step 4 was not completed correctly. The adv_stats column is missing from the database.

  • 468454 - #Step 4 was not completed correctly. The vehicles table is missing from the database.

  • 46584645 - #Step 4 was not completed correctly. The impound and impound_data columns are missing from the database.

  • 5454 - #Step 4 was not completed correctly. The cd_garage_keys table is missing from the database.

  • 3122 - #Step 4 was not completed correctly. The cd_garage_privategarage table is missing from the database.

  • 1975 - The vehicle shown in the server side print hasn't been added to QBCore's shared vehicle table.

  • 5111 - This warning appears when Config.UseExploitProtection is disabled. It likely means the model variable in the vehicle/mods column is missing for a player's vehicle. This could be caused by a faulty vehicle shop or, less commonly, a player using a cheat engine. To fix it, delete the vehicle or manually add the plate in the JSON file.

Client

  • 1654651 - The plate column in the owned_vehicles/player_vehicles table is NULL or not a string for one of this player's vehicles.

  • 87458434 / 3216584884 - The adv_stats column in the owned_vehicles/player_vehicles table is NULL or not a table for one of this player's vehicles.

  • 77745646844 / 66546544658 / 749864 - The vehicle/mods column in the owned_vehicles/player_vehicles table is NULL or not a table for one of this player's vehicles.

  • 2472782 - The garage_id column in the owned_vehicles/player_vehicles table is NULL or not a string for one of this player's vehicles.

  • 465146541 - The property column in the owned_vehicles/player_vehicles table is NULL or not a number for one of this player's vehicles.

  • 6584165 - The in_garage column in the owned_vehicles/player_vehicles table is NULL or not a boolean. It should be a TINYINT (0 or 1).

  • 63548 - The GetJob_grade() function in client_customise_me.lua returned nil when it should return a number.

  • 013552 - The plate variable in the vehicle/mods column for one of this player's vehicles is missing. You can either delete this vehicle or manually add the plate in the JSON file.

  • 3459 - Duplicate garage_id found in Config.GangGarages and Config.Locations. IDs must be unique.

  • 68541545 - You are using a regular job garage but haven't added vehicles for that job in Config.JobVehicles.RegularMethod.

  • 68445154 - Error in the SpawnVehicle function in client/main/functions.lua.

  • 768415 - The impound column in the owned_vehicles/player_vehicles table is a boolean, but it should be a number.

  • 434543522 - Error in the GetFuel function in client_customise_me.lua.


Common Issues

Please check out our Troubleshooting Guide before contacting our support.

🔔 Folder Name Make sure the name of the folder is cd_garage.

🔔 Encrypted Files Do not edit the encrypted files in any way.

Screen Flickering?

eg., if your screen is flickering while using cd_easytime.

✔️ This is due to you having multiple time/weather sync scripts running at the same time fighting each other eg., vSync or vMenu. Stop the other time/weather script that is causing this or stop cd_easytime and remove it from the dependencies in the fxmanifest.lua of cd_garage.

SQL Default Value?

eg., if you see an error similar to this example when inserting an SQL query into your database - “BLOB/TEXT column 'adv_stats' can't have a default value”.

✔️ You can use “VARCHAR(256)” instead of “LONGTEXT” in the SQL query.

SQL Unknown Column?

eg., if you see an SQL error in the server console similar to this example - ER_BAD_FIELD_ERROR: Unknown colum 'job_personalspawn' in 'where clause'.

✔️ You are missing one of the required database columns. The SQL file can be found in the "READ_ME_AFTER_PURCHASING" folder.

Is the impound Not Opening?

eg., if you see a thin line on screen where the impound UI should be and you see a client F8 print saying "toLowerCase".

✔️ Part 1: Use this chat command in your server console before any player joins.
cd_garage_jobvehicles
✔️ Part 2: Execute this SQL query in your database.
UPDATE owned_vehicles SET impound = 0, impound_data = '' WHERE impound > 0

'L' client-side F8 Error?

eg., if you see an error in the client-side F8 console similar to this example - attempt to call a number value (field 'L') - example.

✔️ This is caused by your anti-cheat. The creator of the anti-cheat most likely has a line of code that you can to add to the [cd_garage/fxmanifest.lua]. This should whitelist this resource and fix the issue.

Fuel Not Saving Correctly?

eg., if your vehicles fuel is not saving when you store a vehicle or not applying when spawning a vehicle in the garage.

✔️ This is because the GetFuel() and SetFuel() functions in the [configs/client_customise_me.lua] resource has not been configured for your servers vehicle fuel resource.

RGB Colours Not Saving Correctly?

eg., if your vehicles RGB colours are not saving when you store a vehicle or not applying when spawning a vehicle in the garage.

✔️ This is because you have not made the changes to your frameworks GetVehicleProperties() and SetVehicleProperties() functions that your mechanic/customs resource requires you to do.

"ExitLocation" client-side F8 error?

eg., if you see an error in the client-side F8 console similar to this example - attempt to call a nil value (field 'ExitLocation').

✔️ This happens when you spam the button on the UI to spawn a vehicle too fast, it does not break anything and can be ignored.

Last updated

Was this helpful?