Usage

Usage

Once installed and configured, the Dogtag System works as follows:

  1. Player Death: When a player dies, their dogtag drops at the death location.

  2. Dogtag Pick-Up: Another player can pick up the dogtag by pressing E when near it.

  3. Inventory Management: The dogtag is added to the player's inventory with metadata showing the deceased player's name and gang rank.

Extending the Dogtag System

Adding New Gangs

To add new gangs to the Dogtag System, update the Config.GangTags table in the config.lua file:

Config.GangTags = {
    ['gang1'] = 'tag_gang1',
    ['gang2'] = 'tag_gang2',
    ['newgang'] = 'tag_newgang', -- Add your new gang here
    -- Add more gangs and their corresponding tags
}

Customizing Notifications

To customize the notification system, set the Config.NotifyScript variable in the config.lua file:

Config.NotifyScript = 'b2_notify' -- 'b2_notify' or 'ox' or 'qb_notify' or 'qbx_notify'

Ensure the chosen notification script is installed and configured on your server.

Last updated