QBCore

Follow this if you are using the QBCore version of DHBreathalyser

Dependencies

  • QBCore

  • qb-inventory or QS-inventory

  • Qb-notify or OkOk-Notify

  • Interact-sound

Interact-sound

inside INSTALL/sounds you must drag all provided .OGG files into interact-sound/client/html/sounds.

Configuration - Inventory

Configure the script to match your server. you need to set the breathalyser item in Config.BreathalyserItem. as well as choose between "qb-inventory" or "qs-inventory" which is the only inventories supported at the moment. You can request others to be supported

Configuration - Notify

DHBreathalyser supports OkOk Notify and Standard QBcore Notification. you must set this in Config.Notify. You can request for more notification scripts to be supported

Radial Menu integration

{
                id = 'breathalyse',
                title = 'Breathalyse',
                icon = 'user-group',
                type = 'client',
                event = 'Breathalyser:OpenMenu',
                shouldClose = true
},

You must add this into qb-radialmenu/Config.lua, under id = "escort" for example.

Last updated