Qb-policebadge.zip Official
: Ensure ['useable'] = true is set in the shared items file and that your job is correctly set to police in-game.
: Move the badge image from the script's folder to qb-inventory/html/images/ and ensure it is named exactly as specified in your items.lua (e.g., police_badge.png ).
: Displays a UI containing the officer's Callsign , Rank , and Name to other players. qb-policebadge.zip
: Restart your server or use refresh and start qb-policebadge in the server console to apply changes. Key Features
: You must register the badge as a usable item. Open your qb-core/shared/items.lua file and add the following entry: : Ensure ['useable'] = true is set in
: Provides a visual prop and UI badge animation to enhance law enforcement roleplay. Common Troubleshooting
: Some versions, like stevo_policebadge , allow officers to set a custom photo using in-game commands. : Restart your server or use refresh and
Note: Ensure the item name matches what is defined in the script's config.lua .