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 - Dependencies

Dependencies are important extensions without which the script can't work.

STEP 2 - Resource order

You MUST start the resource below your core (es_extended/qb-core/qbx_core)!

SERVER.CFG
start es_extended/qb-core/qbx_core
start mst_breathalyzer

STEP 3 - Database

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';

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)
;

STEP 4 - 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