Installation

Installation

  1. Download and Extract the Resource

    Download the dogtag system resource and extract it into your resources directory. Ensure the folder is named b2_dogtags.

  2. Add the Resource to Your Server

    Open your server.cfg and add the following line to ensure the resource starts with your server:

    ensure b2_dogtags
  3. Configure the Resource

    Open the config.lua file in the b2_dogtags directory and configure it according to your server's needs.

  4. Configure Item Images

    Place custom item images in the appropriate inventory's images directory.

    • For ox_inventory, place images in ox_inventory/web/images.

    • For qb-inventory, place images in qb-inventory/html/images.

  5. Add Items to Inventory

    Ensure dogtag items are defined in your inventory script.

    • For ox_inventory, add item definitions to data/items.lua.

    • For qb-inventory, add item definitions to shared/items.lua.

  6. Database Configuration

    Ensure your database is configured correctly with the players table structure.

  7. Testing

    • Restart your server.

    • Ensure the resource starts correctly without errors.

    • Test the dogtag drop and pick-up functionalities in-game.

  8. Troubleshooting

    • Check server and client console logs for errors.

    • Ensure configurations and item definitions are correctly set up.

    • Enable debugging in config.lua for detailed logs.

For detailed installation steps, refer to the Installation Guide.

Last updated