Installation
Installation
Download and Extract the Resource
Download the dogtag system resource and extract it into your
resources
directory. Ensure the folder is namedb2_dogtags
.Add the Resource to Your Server
Open your
server.cfg
and add the following line to ensure the resource starts with your server:Configure the Resource
Open the
config.lua
file in theb2_dogtags
directory 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
players
table 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.lua
for detailed logs.
For detailed installation steps, refer to the Installation Guide.
Last updated