BHD Scripts
  • 📚Documentation
  • Scripts
    • 🖥️BHD Bossmenu
      • Dependencies
      • Instalation
      • Configuration
        • Society Money Log
      • Errors
    • 🚗BHD Garage
      • Dependencies
      • Instalation
      • Configuration
      • Server Configuration
      • Commands
      • Errors
      • Developer Options
        • Exports
          • Client Exports
          • Server Exports
            • Vehicle Object
        • Events
        • Editable Files
          • Client
          • Server
            • editable_server.lua
            • functions.lua
        • Vehicle Images
    • 📜BHD MOT
      • Dependencies
      • Instalation
      • Configuration
    • 🐾BHD Animal Tracker
      • Dependencies
      • Instalation
      • Configuration
Powered by GitBook
On this page
  • ERR1 | Vehicle does not exist after 1 second
  • ERR2 | Network control of vehicle not gained after 1 second
  • ERR3 | Vehicle is not networked after 1 second
  • ERR4 | Vehicle data not loaded when trying to spawn vehicle
  • ERR5 | Plate does not have a name loaded, vehicle hash missing
  • ERR6 | Database is not inserted, run command /SetupGarageDatabase from server console
  • ERR7 | Garage does not have an NPC position
  • ERR8 | Jobs for player were not loaded
  • ERR9 | Vehicle was not found when trying to take it out of impound
  • ERR10 | Admin menu trying to set data with invalid key for vehicle
  • ERR11 | GetImpoundByType received invalid type
  1. Scripts
  2. BHD Garage

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:

    1. Ensure the vehicle model was loaded before spawning it.

    2. 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:

    1. Ensure the server has permission to control the vehicle.

    2. 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:

    1. 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:

    1. Check if vehicles were loaded.

    2. 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:

    1. Check if the vehicle model exists on your server.

    2. 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:

    1. Open the server console.

    2. Run the command /SetupGarageDatabase.

    3. Restart the resource.

ERR7 | Garage does not have an NPC position

  • Cause: A garage configuration is missing an NPC spawn position.

  • Solution:

    1. Check the database table bhd_garages positions and ensure that the NPC position is properly set.

    2. Restart the resource.

ERR8 | Jobs for player were not loaded

  • Cause: The player's job data failed to load.

  • Solution:

    1. Ensure the job system is correctly configured (editable_server:37).

    2. 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:

    1. Check if vehicles were loaded.

    2. Run /vehicleDetail [plate] to check if the vehicle exists in script.

    3. 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:

    1. Restart the resource.

    2. Write support ticket.

ERR11 | GetImpoundByType received invalid type

  • Cause: An invalid vehicle type was provided to the GetImpoundByType function.

  • Solution:

    1. Ensure the correct vehicle type is being used.

    2. 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.

PreviousCommandsNextDeveloper Options

Last updated 2 months ago

🚗