Installation

If you aren't familiar with programming or just you don't know how to set up the script, we present our installation guide which is as comprehensive as possible so you don't have any difficulties.


STEP 1 - Download

  • Download mst_breathalyzer and mst_bridge from Portal.

STEP 2 - Dependencies

The script requires several dependencies to function properly.

Required:

Optional:

  • ox_lib (only required if you want to use the progress bars)

STEP 3 - Resources order

You MUST start the resource below your core and bridge!

SERVER.CFG
ensure es_extended/qb-core/qbx_core
ensure mst_bridge
ensure mst_breathalyzer

STEP 4 - Database

  • Add the images from the inventory_images folder inside mst_breathalyzer to your inventory system’s image directory.

DELETE FROM items WHERE name = 'breathalyzer';
DELETE FROM items WHERE name = 'whiskey';
DELETE FROM items WHERE name = 'vodka';
DELETE FROM items WHERE name = 'rum';
DELETE FROM items WHERE name = 'brandy';
DELETE FROM items WHERE name = 'tequila';
DELETE FROM items WHERE name = 'champagne';
DELETE FROM items WHERE name = 'red_wine';
DELETE FROM items WHERE name = 'white_wine';
DELETE FROM items WHERE name = 'rose';
DELETE FROM items WHERE name = 'beer';
DELETE FROM items WHERE name = 'yogurt';

INSERT INTO `items` (`name`, `label`, `weight`) VALUES
	('breathalyzer', 'Breathalyzer', 1),
	('whiskey', 'Whiskey', 1),
	('vodka', 'Vodka', 1),
	('rum', 'Rum', 1),
	('brandy', 'Brandy', 1),
	('tequila', 'Tequila', 1),
	('champagne', 'Champagne', 1),
	('red_wine', 'Red Wine', 1),
	('white_wine', 'White Wine', 1),
	('rose', 'Rose', 1),
	('beer', 'Beer', 1),
	('yogurt', 'Yogurt', 1)
;

STEP 5 - Not working?

We hope you won’t need this step, but if you do, feel free to join our Discord and open a support ticket. :)

Last updated