This section includes a brief tutorial on how to install Samy StressBall correctly. Please follow all the instructions and if you have any issues please open a ticket on so our support team can help you out. General installation.
INFO
Install the items in your inventory using this export: samy_stressball.UseStressBall
If you use qb-inventory or any inventory that uses QBCore.Functions.CreateUseableItem it will not be necessary to use the export
Ox_Inventory
['stressball1'] = {
label = 'Happy Ball',
weight = 15,
stack = false,
close = true,
description = 'Use and squeeze this ball several times to relax.',
server = {
export = 'samy_stressball.UseStressBall'
}
},
['stressball2'] = {
label = 'Dog Ball',
weight = 15,
stack = false,
close = true,
description = 'Use and squeeze this ball several times to relax.',
server = {
export = 'samy_stressball.UseStressBall'
}
},
['stressball3'] = {
label = 'Nerd Ball',
weight = 15,
stack = false,
close = true,
description = 'Use and squeeze this ball several times to relax.',
server = {
export = 'samy_stressball.UseStressBall'
}
},
['stressball4'] = {
label = 'Chicken Ball',
weight = 15,
stack = false,
close = true,
description = 'Use and squeeze this ball several times to relax.',
server = {
export = 'samy_stressball.UseStressBall'
}
},
['stressball5'] = {
label = 'BananaCat Ball',
weight = 15,
stack = false,
close = true,
description = 'Use and squeeze this ball several times to relax.',
server = {
export = 'samy_stressball.UseStressBall'
}
},
Qb-Inventory
["stressball1"] = {
["name"] = "stressball1",
["label"] = "Happy Ball",
["weight"] = 15,
["type"] = "item",
["image"] = "stressball1.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Use and squeeze this ball several times to relax."
},
["stressball2"] = {
["name"] = "stressball2",
["label"] = "Dog Ball",
["weight"] = 15,
["type"] = "item",
["image"] = "stressball2.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Use and squeeze this ball several times to relax."
},
["stressball3"] = {
["name"] = "stressball3",
["label"] = "Nerd Ball",
["weight"] = 15,
["type"] = "item",
["image"] = "stressball3.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Use and squeeze this ball several times to relax."
},
["stressball4"] = {
["name"] = "stressball4",
["label"] = "Chicken Ball",
["weight"] = 15,
["type"] = "item",
["image"] = "stressball4.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Use and squeeze this ball several times to relax."
},
["stressball5"] = {
["name"] = "stressball5",
["label"] = "BananaCat Ball",
["weight"] = 15,
["type"] = "item",
["image"] = "stressball5.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Use and squeeze this ball several times to relax."
},