Installation
Installation
Download and Extract the Resource
Download the dogtag system resource and extract it into your
resourcesdirectory. Ensure the folder is namedb2_dogtags.Add the Resource to Your Server
Open your
server.cfgand add the following line to ensure the resource starts with your server:ensure b2_dogtagsConfigure the Resource
Open the
config.luafile in theb2_dogtagsdirectory and configure it according to your server's needs.Configure Item Images
Place custom item images in the appropriate inventory's images directory.
For
ox_inventory, place images inox_inventory/web/images.For
qb-inventory, place images inqb-inventory/html/images.
Add Items to Inventory
Ensure dogtag items are defined in your inventory script.
For
ox_inventory, add item definitions todata/items.lua.For
qb-inventory, add item definitions toshared/items.lua.
Database Configuration
Ensure your database is configured correctly with the
playerstable structure.Testing
Restart your server.
Ensure the resource starts correctly without errors.
Test the dogtag drop and pick-up functionalities in-game.
Troubleshooting
Check server and client console logs for errors.
Ensure configurations and item definitions are correctly set up.
Enable debugging in
config.luafor detailed logs.
For detailed installation steps, refer to the Installation Guide.
Last updated