Merge pull request #13 from ihyajb/main

Fixed tosti not closing inventory when used
This commit is contained in:
QBCore Framework
2021-06-14 11:12:32 -05:00
committed by GitHub
+1 -1
View File
@@ -131,7 +131,7 @@ QBShared.Items = {
["id_card"] = {["name"] = "id_card", ["label"] = "ID Card", ["weight"] = 0, ["type"] = "item", ["image"] = "id_card.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "A card containing all your information to identify yourself."},
["driver_license"] = {["name"] = "driver_license", ["label"] = "Drivers License", ["weight"] = 0, ["type"] = "item", ["image"] = "driver_license.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Permit to show you can drive a vehicle."},
["lawyerpass"] = {["name"] = "lawyerpass", ["label"] = "Lawyer Pass", ["weight"] = 0, ["type"] = "item", ["image"] = "lawyerpass.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Pass exclusive to lawyers to show they can represent a suspect."},
["tosti"] = {["name"] = "tosti", ["label"] = "Grilled Cheese Sandwich", ["weight"] = 200, ["type"] = "item", ["image"] = "tosti.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Nice to eat."},
["tosti"] = {["name"] = "tosti", ["label"] = "Grilled Cheese Sandwich", ["weight"] = 200, ["type"] = "item", ["image"] = "tosti.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Nice to eat."},
["casinochips"] = {["name"] = "casinochips", ["label"] = "Casino Chips", ["weight"] = 0, ["type"] = "item", ["image"] = "casinochips.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Chips For Casino Gambling"},
["water_bottle"] = {["name"] = "water_bottle", ["label"] = "Bottle of Water", ["weight"] = 500, ["type"] = "item", ["image"] = "water_bottle.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "For all the thirsty out there"},
["beer"] = {["name"] = "beer", ["label"] = "Beer", ["weight"] = 500, ["type"] = "item", ["image"] = "beer.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "For all the thirsty out there"},