🟡Step 1 - Items installation
First, add the items into the 'items' table of your database
-- Insert Health Potion
INSERT INTO `items` (`name`, `label`)
VALUES ('p1', 'Health Potion');
-- Insert Shield Potion
INSERT INTO `items` (`name`, `label`)
VALUES ('p2', 'Shield Potion');
-- Insert Animal Potion
INSERT INTO `items` (`name`, `label`)
VALUES ('p3', 'Animal Potion');
-- Insert Invisibility Potion
INSERT INTO `items` (`name`, `label`)
VALUES ('p4', 'Invisibility Potion');
-- Insert Speed Potion
INSERT INTO `items` (`name`, `label`)
VALUES ('p5', 'Speed Potion');
-- Insert Crystal Ball
INSERT INTO `items` (`name`, `label`)
VALUES ('cristal_ball', 'Crystal Ball');
-- Insert Ouija Board
INSERT INTO `items` (`name`, `label`)
VALUES ('ouija', 'Ouija Board');
-- Insert Poción de Salud
INSERT INTO `items` (`name`, `label`)
VALUES ('p1', 'Poción de Salud');
-- Insert Poción de Escudo
INSERT INTO `items` (`name`, `label`)
VALUES ('p2', 'Poción de Escudo');
-- Insert Poción Animal
INSERT INTO `items` (`name`, `label`)
VALUES ('p3', 'Poción Animal');
-- Insert Poción de Invisibilidad
INSERT INTO `items` (`name`, `label`)
VALUES ('p4', 'Poción de Invisibilidad');
-- Insert Poción de Velocidad
INSERT INTO `items` (`name`, `label`)
VALUES ('p5', 'Poción de Velocidad');
-- Insert Crystal Ball
INSERT INTO `items` (`name`, `label`)
VALUES ('cristal_ball', 'Bola de Cristal');
-- Insert Ouija Board
INSERT INTO `items` (`name`, `label`)
VALUES ('ouija', 'Ouija');
Ox_inventory items version
If you use Ox_Inventory in your ESX server you can add the next items
['p1'] = {
label = 'Poción de Salud',
description = 'Te revitaliza',
weight = 10,
close = true,
stack = nil,
},
['p2'] = {
label = 'Poción de Escudo',
description = 'Te da escudo',
weight = 10,
close = true,
stack = nil,
},
['p3'] = {
label = 'Poción Animal',
description = 'Te convierte en un animal temporalmente',
weight = 10,
close = true,
stack = nil,
},
['p4'] = {
label = 'Poción de Invisibilidad',
description = 'Te hace invisible temporalmente',
weight = 10,
close = true,
stack = nil,
},
['p5'] = {
label = 'Poción de Velocidad',
description = 'Te vuelve más velóz temporalmente',
weight = 10,
close = true,
stack = nil,
},
['cristal_ball'] = {
label = 'Bola de Cristal',
description = 'Te da un objeto aleatorio',
weight = 10,
close = true,
stack = nil,
},
['ouija'] = {
label = 'Ouija',
description = 'Te permite comunicarte con los muertos',
weight = 10,
close = true,
stack = nil,
},
['p1'] = {
label = 'Poción de Salud',
description = 'Heals you',
weight = 10,
close = true,
stack = nil,
},
['p2'] = {
label = 'Shield Potion',
description = 'Gives you a shield',
weight = 10,
close = true,
stack = nil,
},
['p3'] = {
label = 'Animal Potion',
description = 'Turns you into a random animal for some time',
weight = 10,
close = true,
stack = nil,
},
['p4'] = {
label = 'Invisibility Potion',
description = 'Makes you invisible for some time',
weight = 10,
close = true,
stack = nil,
},
['p5'] = {
label = 'Speed Potion',
description = 'Makes you go faster for some time',
weight = 10,
close = true,
stack = nil,
},
['cristal_ball'] = {
label = 'Crystal Ball',
description = 'Gives you a random item',
weight = 10,
close = true,
stack = nil,
},
['ouija'] = {
label = 'Ouija Board',
description = 'Allows you to talk to the dead',
weight = 10,
close = true,
stack = nil,
},
Last updated