Qb-policebadge.zip (2027)
: Add ensure qb-policebadge to your server.cfg file.
Note: Ensure the item name matches what is defined in the script's config.lua . qb-policebadge.zip
: You must register the badge as a usable item. Open your qb-core/shared/items.lua file and add the following entry: : Add ensure qb-policebadge to your server
['police_badge'] = { ['name'] = 'police_badge', ['label'] = 'Police Badge', ['weight'] = 100, ['type'] = 'item', ['image'] = 'police_badge.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Official Department Identification' }, Use code with caution. Copied to clipboard ['label'] = 'Police Badge'
: Displays a UI containing the officer's Callsign , Rank , and Name to other players.