Errors
This page provides a list of error messages that may appear when using BHD Garage. Each error includes an explanation of why it occurs and how to resolve it.
ERR1 | Vehicle does not exist after 1 second
Cause: The script attempted to reference a vehicle that does not exist or has been deleted.
Solution:
Ensure the vehicle model was loaded before spawning it.
Check if any other scripts are removing vehicles unexpectedly.
ERR2 | Network control of vehicle not gained after 1 second
Cause: The script failed to gain network control over the vehicle within the expected time.
Solution:
Ensure the server has permission to control the vehicle.
Check if any other scripts are interfering with vehicle control.
ERR3 | Vehicle is not networked after 1 second
Cause: The vehicle is not properly networked and cannot be controlled by the server.
Solution:
Restart the resource or respawn the vehicle.
ERR4 | Vehicle data not loaded when trying to spawn vehicle
Cause: The vehicle data did not load correctly from the server.
Solution:
Check if vehicles were loaded.
Run
/vehicleDetail [plate]
to check if the vehicle exists in script.
ERR5 | Plate does not have a name loaded, vehicle hash missing
Cause: The vehicle does not have a registered name or hash value.
Solution:
Check if the vehicle model exists on your server.
Restart the resource and attempt again.
ERR6 | Database is not inserted, run command /SetupGarageDatabase from server console
Cause: The database has not been properly initialized.
Solution:
Open the server console.
Run the command
/SetupGarageDatabase
.Restart the resource.
ERR7 | Garage does not have an NPC position
Cause: A garage configuration is missing an NPC spawn position.
Solution:
Check the database table
bhd_garages
positions and ensure that the NPC position is properly set.Restart the resource.
ERR8 | Jobs for player were not loaded
Cause: The player's job data failed to load.
Solution:
Ensure the job system is correctly configured (editable_server:37).
Restart the resource.
ERR9 | Vehicle was not found when trying to take it out of impound
Cause: The vehicle could not be found in the database.
Solution:
Check if vehicles were loaded.
Run
/vehicleDetail [plate]
to check if the vehicle exists in script.Restart the resource.
ERR10 | Admin menu trying to set data with invalid key for vehicle
Cause: The admin menu attempted to modify a vehicle using an invalid key.
Solution:
Restart the resource.
Write support ticket.
ERR11 | GetImpoundByType received invalid type
Cause: An invalid vehicle type was provided to the
GetImpoundByType
function.Solution:
Ensure the correct vehicle type is being used.
Check the configuration for missing or incorrect vehicle type entries.
Additional Troubleshooting
If you continue to experience issues, check the server logs for more details or contact support on Discord.
Last updated