Installation

1 - Insert the sql files

INSERT INTO `addon_account` (name, label, shared) VALUES
	('society_lps', 'Le Petit Snack', 1)
;

INSERT INTO `addon_inventory` (name, label, shared) VALUES
	('society_lps', 'Le Petit Snack', 1)
;

INSERT INTO `datastore` (name, label, shared) VALUES
	('society_lps', 'Le Petit Snack', 1)
;

INSERT INTO `jobs` (name, label) VALUES
	('lps', 'Le Petit Snack')
;

INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
	('lps',0,'recrue','Serveur',12,'{}','{}'),
	('lps',1,'barman',"Barman",24,'{}','{}'),
	('lps',2,'manager','Manager',36,'{}','{}'),
	('lps',3,'boss',"Patron",48,'{}','{}')
;

2 - Add the items in your inventory

 - ['frenchy_panini'] = {
    label = 'Frenchy Panini',
    description = "Un panini à la frenchy",
    weight = 1,
    stack = true,
    close = true,
    client = {
			status = { hunger = 200000 },
			anim = 'eating',
			prop = 'burger',
			usetime = 2500,
			notification = 'Tu a manger un delicieux Frenchy Panini'
	},
},
['frenchy_sandwich'] = {
    label = 'Frenchy Sandwich',
    description = "Un sandwich Frenchy",
    weight = 1,
    stack = true,
    close = true,
    client = {
			status = { hunger = 200000 },
			anim = 'eating',
			prop = 'burger',
			usetime = 2500,
			notification = 'Tu a manger un delicieux Frenchy Sandwich'
	},
},
['juice_mangue'] = {
    label = 'Jus de Mangue',
    description = "Un jus de mangue frais.",
    weight = 1,
    stack = true,
    close = true,
    client = {
			status = { hunger = 200000 },
			anim = 'eating',
			prop = 'burger',
			usetime = 2500,
			notification = 'Tu a manger un delicieux Frenchy Sandwich'
	},
},
['juice_peach'] = {
    label = 'Jus de Pêche',
    description = "Un jus de pêche rafraîchissant.",
    weight = 1,
    stack = true,
    close = true,
	client = {
			status = { thirst = 30000 },
			anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
			prop = { model = 'prop_cs_cola', pos = vec3(0.01, 0.01, 0.06), rot = vec3(0.0, 0.0, 0.0) },
			usetime = 2500,
			notification = 'Vous avez bu un Jus de Pêche'
	},
},
['juice_fraise'] = {
    label = 'Jus de Fraise',
    description = "Un jus de fraise sucré.",
    weight = 1,
    stack = true,
    close = true,
    client = {
			status = { thirst = 30000 },
			anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
			prop = { model = 'prop_cs_cola', pos = vec3(0.01, 0.01, 0.06), rot = vec3(0.0, 0.0, 0.0) },
			usetime = 2500,
			notification = 'Vous avez bu un Jus de Pêche'
	},
},
['verre'] = {
    label = 'Verre',
    description = "Un verre vide pour servir des boissons.",
    weight = 1,
    stack = true,
},
['charcuterie'] = {
    label = 'Charcuterie',
    description = "Un assortiment de charcuterie.",
    weight = 1,
    stack = true,
},
['pain'] = {
    label = 'Pain',
    description = "Un morceau de pain frais.",
    weight = 1,
    stack = true,
}

3 - Add the images

694KB
archive
Ouvrir

4 - Move the folder for your ressources

5 - Add this in your server.cfg

ensure Mickystudio_LePetitSnackJob

6 - Restart your server

7 - Enjoy 😄

Mis à jour