Add support for new ESX weight system (#63)

* Added weight support

* Update main.lua

* Removed unused variable
This commit is contained in:
Poggu
2019-11-13 21:46:48 +01:00
committed by Samuel
parent 13da795b09
commit e8f98e03eb
7 changed files with 38 additions and 39 deletions
+6 -6
View File
@@ -20,11 +20,11 @@ INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_
('mechanic',4,'boss','Boss',0,'{}','{}')
;
INSERT INTO `items` (name, label, `limit`) VALUES
('gazbottle', 'Gas Bottle', 11),
('fixtool', 'Repair Tools', 6),
('carotool', 'Tools', 4),
('blowpipe', 'Blowtorch', 10),
('fixkit', 'Repair Kit', 5),
INSERT INTO `items` (name, label, weight) VALUES
('gazbottle', 'Gas Bottle', 2),
('fixtool', 'Repair Tools', 2),
('carotool', 'Tools', 2),
('blowpipe', 'Blowtorch', 2),
('fixkit', 'Repair Kit', 3),
('carokit', 'Body Kit', 3)
;
+6 -6
View File
@@ -20,11 +20,11 @@ INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_
('mechanic',4,'boss','Pomo',0,'{}','{}')
;
INSERT INTO `items` (name, label, `limit`) VALUES
('gazbottle', 'Kaasupullo', 11),
('fixtool', 'Korjaustyökalut', 6),
('carotool', 'Työkalut', 4),
('blowpipe', 'Polttoleikkuri', 10),
('fixkit', 'Korjauskitti', 5),
INSERT INTO `items` (name, label, weight) VALUES
('gazbottle', 'Kaasupullo', 2),
('fixtool', 'Korjaustyökalut', 2),
('carotool', 'Työkalut', 2),
('blowpipe', 'Polttoleikkuri', 2),
('fixkit', 'Korjauskitti', 3),
('carokit', 'Korikitti', 3)
;
+6 -6
View File
@@ -20,11 +20,11 @@ INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_
('mechanic',4,'boss','Szef',0,'{}','{}')
;
INSERT INTO `items` (name, label, `limit`) VALUES
('gazbottle', 'Butelka z gazem', 11),
('fixtool', 'Zestaw do naprawy', 6),
('carotool', 'Częsci naprawcze', 4),
('blowpipe', 'Palnik', 10),
('fixkit', 'Narzedzia naprawcze', 5),
INSERT INTO `items` (name, label, weight) VALUES
('gazbottle', 'Butelka z gazem', 2),
('fixtool', 'Zestaw do naprawy', 2),
('carotool', 'Częsci naprawcze', 2),
('blowpipe', 'Palnik', 2),
('fixkit', 'Narzedzia naprawcze', 3),
('carokit', 'Części blacharskie', 3)
;
+6 -6
View File
@@ -20,11 +20,11 @@ INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_
('mechanic',4,'boss','Ägare',0,'{}','{}')
;
INSERT INTO `items` (name, label, `limit`) VALUES
('gazbottle', 'Gas Flaska', 11),
('fixtool', 'Reparationsverktyg', 6),
('carotool', 'Verktyg', 4),
('blowpipe', 'Blåslampa', 10),
('fixkit', 'Reparationssats', 5),
INSERT INTO `items` (name, label, weight) VALUES
('gazbottle', 'Gas Flaska', 2),
('fixtool', 'Reparationsverktyg', 2),
('carotool', 'Verktyg', 2),
('blowpipe', 'Blåslampa', 2),
('fixkit', 'Reparationssats', 3),
('carokit', 'Karosskit', 3)
;