ed
|
@ -0,0 +1,222 @@
|
|||
--- Section: Food
|
||||
--- Copy and paste into bzzz_usableitems and then restart the server
|
||||
|
||||
|
||||
|
||||
|
||||
["bzzz_vending_prop_chips_a"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDict = "mp_player_inteat@pnq",
|
||||
animationName = "loop"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 60309,
|
||||
propName = "bzzz_vending_prop_chips_a",
|
||||
xPos = -0.05, yPos = 0.01, zPos = 0.0, xRot = -8.0, yRot = 80.0, zRot = -72.0
|
||||
}
|
||||
},
|
||||
["bzzz_vending_prop_chips_b"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDict = "mp_player_inteat@pnq",
|
||||
animationName = "loop"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 60309,
|
||||
propName = "bzzz_vending_prop_chips_b",
|
||||
xPos = -0.05, yPos = 0.01, zPos = 0.0, xRot = -8.0, yRot = 80.0, zRot = -72.0
|
||||
}
|
||||
},
|
||||
["bzzz_vending_prop_chips_c"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDict = "mp_player_inteat@pnq",
|
||||
animationName = "loop"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 60309,
|
||||
propName = "bzzz_vending_prop_chips_c",
|
||||
xPos = -0.05, yPos = 0.01, zPos = 0.0, xRot = -8.0, yRot = 80.0, zRot = -72.0
|
||||
}
|
||||
},
|
||||
["bzzz_vending_prop_chips_d"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDict = "mp_player_inteat@pnq",
|
||||
animationName = "loop"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 60309,
|
||||
propName = "bzzz_vending_prop_chips_d",
|
||||
xPos = -0.05, yPos = 0.01, zPos = 0.0, xRot = -8.0, yRot = 80.0, zRot = -72.0
|
||||
}
|
||||
},
|
||||
["bzzz_vending_prop_chips_e"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDict = "mp_player_inteat@pnq",
|
||||
animationName = "loop"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 60309,
|
||||
propName = "bzzz_vending_prop_chips_e",
|
||||
xPos = -0.05, yPos = 0.01, zPos = 0.0, xRot = -8.0, yRot = 80.0, zRot = -72.0
|
||||
}
|
||||
},
|
||||
["bzzz_vending_prop_chips_f"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDict = "mp_player_inteat@pnq",
|
||||
animationName = "loop"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 60309,
|
||||
propName = "bzzz_vending_prop_chips_f",
|
||||
xPos = -0.05, yPos = 0.01, zPos = 0.0, xRot = -8.0, yRot = 80.0, zRot = -72.0
|
||||
}
|
||||
},
|
||||
["bzzz_vending_prop_candybox"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDict = "mp_player_inteat@pnq",
|
||||
animationName = "loop"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 60309,
|
||||
propName = "bzzz_vending_prop_candybox",
|
||||
xPos = -0.02, yPos = 0.01, zPos = 0.0, xRot = -8.0, yRot = 80.0, zRot = -72.0
|
||||
}
|
||||
},
|
||||
["bzzz_vending_prop_captains"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDict = "mp_player_inteat@pnq",
|
||||
animationName = "loop"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 60309,
|
||||
propName = "bzzz_vending_prop_captains",
|
||||
xPos = -0.03, yPos = 0.01, zPos = 0.0, xRot = -8.0, yRot = 80.0, zRot = -72.0
|
||||
}
|
||||
},
|
||||
["bzzz_vending_prop_cbbrown"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDict = "mp_player_inteat@pnq",
|
||||
animationName = "loop"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 60309,
|
||||
propName = "bzzz_vending_prop_cbbrown",
|
||||
xPos = -0.03, yPos = 0.01, zPos = 0.0, xRot = -8.0, yRot = 80.0, zRot = -72.0
|
||||
}
|
||||
},
|
||||
["bzzz_vending_prop_cbred"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDict = "mp_player_inteat@pnq",
|
||||
animationName = "loop"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 60309,
|
||||
propName = "bzzz_vending_prop_cbred",
|
||||
xPos = -0.03, yPos = 0.01, zPos = 0.0, xRot = -8.0, yRot = 80.0, zRot = -72.0
|
||||
}
|
||||
},
|
||||
["bzzz_vending_prop_cbgreen"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDict = "mp_player_inteat@pnq",
|
||||
animationName = "loop"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 60309,
|
||||
propName = "bzzz_vending_prop_cbgreen",
|
||||
xPos = -0.03, yPos = 0.01, zPos = 0.0, xRot = -8.0, yRot = 80.0, zRot = -72.0
|
||||
}
|
||||
},
|
||||
["bzzz_vending_prop_cbyellow"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDict = "mp_player_inteat@pnq",
|
||||
animationName = "loop"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 60309,
|
||||
propName = "bzzz_vending_prop_cbyellow",
|
||||
xPos = -0.03, yPos = 0.01, zPos = 0.0, xRot = -8.0, yRot = 80.0, zRot = -72.0
|
||||
}
|
||||
},
|
||||
["bzzz_vending_prop_nothings"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDict = "mp_player_inteat@pnq",
|
||||
animationName = "loop"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 60309,
|
||||
propName = "bzzz_vending_prop_nothings",
|
||||
xPos = -0.02, yPos = 0.01, zPos = 0.0, xRot = -8.0, yRot = 80.0, zRot = -72.0
|
||||
}
|
||||
},
|
||||
["bzzz_vending_prop_zebrabar"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDict = "mp_player_inteat@pnq",
|
||||
animationName = "loop"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 60309,
|
||||
propName = "bzzz_vending_prop_zebrabar",
|
||||
xPos = -0.04, yPos = 0.01, zPos = 0.0, xRot = -8.0, yRot = 80.0, zRot = -72.0
|
||||
}
|
||||
},
|
||||
["bzzz_vending_prop_relblue"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDict = "mp_player_inteat@pnq",
|
||||
animationName = "loop"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 60309,
|
||||
propName = "bzzz_vending_prop_relblue",
|
||||
xPos = -0.03, yPos = 0.00, zPos = -0.01, xRot = -8.0, yRot = 80.0, zRot = -72.0
|
||||
}
|
||||
},
|
||||
["bzzz_vending_prop_relgreen"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDict = "mp_player_inteat@pnq",
|
||||
animationName = "loop"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 60309,
|
||||
propName = "bzzz_vending_prop_relgreen",
|
||||
xPos = -0.03, yPos = 0.00, zPos = -0.01, xRot = -8.0, yRot = 80.0, zRot = -72.0
|
||||
}
|
||||
},
|
||||
["bzzz_vending_prop_relpink"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDict = "mp_player_inteat@pnq",
|
||||
animationName = "loop"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 60309,
|
||||
propName = "bzzz_vending_prop_relpink",
|
||||
xPos = -0.03, yPos = 0.00, zPos = -0.01, xRot = -8.0, yRot = 80.0, zRot = -72.0
|
||||
}
|
||||
},
|
||||
["bzzz_vending_prop_meteorite"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDict = "mp_player_inteat@burger",
|
||||
animationName = "mp_player_int_eat_burger"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 60309,
|
||||
propName = "bzzz_vending_prop_meteorite",
|
||||
xPos = -0.01, yPos = 0.00, zPos = 0.00, xRot = -8.0, yRot = 80.0, zRot = -72.0
|
||||
}
|
||||
},
|
|
@ -0,0 +1,145 @@
|
|||
["vending_chips_a"] = {"mp_player_inteat@pnq", "loop", "Supersalt chips", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_vending_prop_chips_a",
|
||||
PropBone = 60309,
|
||||
PropPlacement = {-0.05, 0.01, 0.0, -8.0, 80.0, -72.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["vending_chips_b"] = {"mp_player_inteat@pnq", "loop", "Salt & Sauce chips", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_vending_prop_chips_b",
|
||||
PropBone = 60309,
|
||||
PropPlacement = {-0.05, 0.01, 0.0, -8.0, 80.0, -72.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["vending_chips_c"] = {"mp_player_inteat@pnq", "loop", "Crinkle chips - Paprika", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_vending_prop_chips_c",
|
||||
PropBone = 60309,
|
||||
PropPlacement = {-0.05, 0.01, 0.0, -8.0, 80.0, -72.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["vending_chips_d"] = {"mp_player_inteat@pnq", "loop", "Big cheese chips", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_vending_prop_chips_d",
|
||||
PropBone = 60309,
|
||||
PropPlacement = {-0.05, 0.01, 0.0, -8.0, 80.0, -72.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["vending_chips_e"] = {"mp_player_inteat@pnq", "loop", "Crinkle chips - Habanero", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_vending_prop_chips_e",
|
||||
PropBone = 60309,
|
||||
PropPlacement = {-0.05, 0.01, 0.0, -8.0, 80.0, -72.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["vending_chips_f"] = {"mp_player_inteat@pnq", "loop", "Stick ribs chips", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_vending_prop_chips_f",
|
||||
PropBone = 60309,
|
||||
PropPlacement = {-0.05, 0.01, 0.0, -8.0, 80.0, -72.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["vending_candybox"] = {"mp_player_inteat@pnq", "loop", "Ps&Qs", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_vending_prop_candybox",
|
||||
PropBone = 60309,
|
||||
PropPlacement = {-0.02, 0.01, 0.0, -8.0, 80.0, -72.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["vending_captains"] = {"mp_player_inteat@pnq", "loop", "Captains Log", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_vending_prop_captains",
|
||||
PropBone = 60309,
|
||||
PropPlacement = {-0.03, 0.01, 0.0, -8.0, 80.0, -72.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["vending_cbbrown"] = {"mp_player_inteat@pnq", "loop", "CandyBox brown", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_vending_prop_cbbrown",
|
||||
PropBone = 60309,
|
||||
PropPlacement = {-0.03, 0.01, 0.0, -8.0, 80.0, -72.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["vending_cbred"] = {"mp_player_inteat@pnq", "loop", "CandyBox red", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_vending_prop_cbred",
|
||||
PropBone = 60309,
|
||||
PropPlacement = {-0.03, 0.01, 0.0, -8.0, 80.0, -72.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["vending_cbgreen"] = {"mp_player_inteat@pnq", "loop", "CandyBox green", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_vending_prop_cbgreen",
|
||||
PropBone = 60309,
|
||||
PropPlacement = {-0.03, 0.01, 0.0, -8.0, 80.0, -72.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["vending_cbyellow"] = {"mp_player_inteat@pnq", "loop", "CandyBox yellow", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_vending_prop_cbyellow",
|
||||
PropBone = 60309,
|
||||
PropPlacement = {-0.03, 0.01, 0.0, -8.0, 80.0, -72.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["vending_nothings"] = {"mp_player_inteat@pnq", "loop", "Nothings", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_vending_prop_nothings",
|
||||
PropBone = 60309,
|
||||
PropPlacement = {-0.02, 0.01, 0.0, -8.0, 80.0, -72.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["vending_zebrabar"] = {"mp_player_inteat@pnq", "loop", "Zebra bar", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_vending_prop_zebrabar",
|
||||
PropBone = 60309,
|
||||
PropPlacement = {-0.04, 0.01, 0.0, -8.0, 80.0, -72.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["vending_relblue"] = {"mp_player_inteat@pnq", "loop", "Release blue", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_vending_prop_relblue",
|
||||
PropBone = 60309,
|
||||
PropPlacement = {-0.03, 0.00, -0.01, -8.0, 80.0, -72.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["vending_relgreen"] = {"mp_player_inteat@pnq", "loop", "Release green", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_vending_prop_relgreen",
|
||||
PropBone = 60309,
|
||||
PropPlacement = {-0.03, 0.00, -0.01, -8.0, 80.0, -72.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["vending_relpink"] = {"mp_player_inteat@pnq", "loop", "Release pink", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_vending_prop_relpink",
|
||||
PropBone = 60309,
|
||||
PropPlacement = {-0.03, 0.00, -0.01, -8.0, 80.0, -72.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
|
||||
["vending_meteorite"] = {"mp_player_inteat@burger", "mp_player_int_eat_burger", "Meteorite", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_vending_prop_meteorite",
|
||||
PropBone = 60309,
|
||||
PropPlacement = {-0.01, 0.00, 0.0, -8.0, 80.0, -72.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
198
resources/[props]/bzzz_vending/data/code_for_ox_inventory.lua
Normal file
|
@ -0,0 +1,198 @@
|
|||
['bzzz_vending_prop_chips_a'] = {
|
||||
label = 'Supersalt chips',
|
||||
weight = 200,
|
||||
client = {
|
||||
status = { thirst = 100000 },
|
||||
anim = { dict = 'mp_player_inteat@pnq', clip = 'loop' },
|
||||
prop = { model = `bzzz_vending_prop_chips_a`, pos = vec3(-0.05, 0.02, -0.03), rot = vec3(70.0, 20.0, 100.0) },
|
||||
usetime = 5000,
|
||||
notification = 'Bon appétit!'
|
||||
}
|
||||
},
|
||||
['bzzz_vending_prop_chips_b'] = {
|
||||
label = 'Salt & Sauce chips',
|
||||
weight = 200,
|
||||
client = {
|
||||
status = { thirst = 100000 },
|
||||
anim = { dict = 'mp_player_inteat@pnq', clip = 'loop' },
|
||||
prop = { model = `bzzz_vending_prop_chips_b`, pos = vec3(-0.05, 0.02, -0.03), rot = vec3(70.0, 20.0, 100.0) },
|
||||
usetime = 5000,
|
||||
notification = 'Bon appétit!'
|
||||
}
|
||||
},
|
||||
['bzzz_vending_prop_chips_c'] = {
|
||||
label = 'Crinkle chips - Paprika',
|
||||
weight = 200,
|
||||
client = {
|
||||
status = { thirst = 100000 },
|
||||
anim = { dict = 'mp_player_inteat@pnq', clip = 'loop' },
|
||||
prop = { model = `bzzz_vending_prop_chips_c`, pos = vec3(-0.05, 0.02, -0.03), rot = vec3(70.0, 20.0, 100.0) },
|
||||
usetime = 5000,
|
||||
notification = 'Bon appétit!'
|
||||
}
|
||||
},
|
||||
['bzzz_vending_prop_chips_d'] = {
|
||||
label = 'Big cheese chips',
|
||||
weight = 200,
|
||||
client = {
|
||||
status = { thirst = 100000 },
|
||||
anim = { dict = 'mp_player_inteat@pnq', clip = 'loop' },
|
||||
prop = { model = `bzzz_vending_prop_chips_d`, pos = vec3(-0.05, 0.02, -0.03), rot = vec3(70.0, 20.0, 100.0) },
|
||||
usetime = 5000,
|
||||
notification = 'Bon appétit!'
|
||||
}
|
||||
},
|
||||
['bzzz_vending_prop_chips_e'] = {
|
||||
label = 'Crinkle chips - Habanero',
|
||||
weight = 200,
|
||||
client = {
|
||||
status = { thirst = 100000 },
|
||||
anim = { dict = 'mp_player_inteat@pnq', clip = 'loop' },
|
||||
prop = { model = `bzzz_vending_prop_chips_e`, pos = vec3(-0.05, 0.02, -0.03), rot = vec3(70.0, 20.0, 100.0) },
|
||||
usetime = 5000,
|
||||
notification = 'Bon appétit!'
|
||||
}
|
||||
},
|
||||
['bzzz_vending_prop_chips_f'] = {
|
||||
label = 'Stick ribs chips',
|
||||
weight = 200,
|
||||
client = {
|
||||
status = { thirst = 100000 },
|
||||
anim = { dict = 'mp_player_inteat@pnq', clip = 'loop' },
|
||||
prop = { model = `bzzz_vending_prop_chips_f`, pos = vec3(-0.05, 0.02, -0.03), rot = vec3(70.0, 20.0, 100.0) },
|
||||
usetime = 5000,
|
||||
notification = 'Bon appétit!'
|
||||
}
|
||||
},
|
||||
['bzzz_vending_prop_candybox'] = {
|
||||
label = 'Ps&Qs',
|
||||
weight = 100,
|
||||
client = {
|
||||
status = { thirst = 100000 },
|
||||
anim = { dict = 'mp_player_inteat@pnq', clip = 'loop' },
|
||||
prop = { model = `bzzz_vending_prop_candybox`, pos = vec3(-0.01, 0.02, 0.0), rot = vec3(90.0, 20.0, 80.0) },
|
||||
usetime = 5000,
|
||||
notification = 'Bon appétit!'
|
||||
}
|
||||
},
|
||||
['bzzz_vending_prop_captains'] = {
|
||||
label = 'Captains Log',
|
||||
weight = 200,
|
||||
client = {
|
||||
status = { thirst = 100000 },
|
||||
anim = { dict = 'mp_player_inteat@pnq', clip = 'loop' },
|
||||
prop = { model = `bzzz_vending_prop_captains`, pos = vec3(-0.03, 0.02, 0.0), rot = vec3(90.0, 20.0, 80.0) },
|
||||
usetime = 5000,
|
||||
notification = 'Bon appétit!'
|
||||
}
|
||||
},
|
||||
['bzzz_vending_prop_cbbrown'] = {
|
||||
label = 'CandyBox brown',
|
||||
weight = 200,
|
||||
client = {
|
||||
status = { thirst = 100000 },
|
||||
anim = { dict = 'mp_player_inteat@pnq', clip = 'loop' },
|
||||
prop = { model = `bzzz_vending_prop_cbbrown`, pos = vec3(-0.03, 0.02, 0.0), rot = vec3(90.0, 20.0, 80.0) },
|
||||
usetime = 5000,
|
||||
notification = 'Bon appétit!'
|
||||
}
|
||||
},
|
||||
['bzzz_vending_prop_cbred'] = {
|
||||
label = 'CandyBox red',
|
||||
weight = 200,
|
||||
client = {
|
||||
status = { thirst = 100000 },
|
||||
anim = { dict = 'mp_player_inteat@pnq', clip = 'loop' },
|
||||
prop = { model = `bzzz_vending_prop_cbred`, pos = vec3(-0.03, 0.02, 0.0), rot = vec3(90.0, 20.0, 80.0) },
|
||||
usetime = 5000,
|
||||
notification = 'Bon appétit!'
|
||||
}
|
||||
},
|
||||
['bzzz_vending_prop_cbgreen'] = {
|
||||
label = 'CandyBox green',
|
||||
weight = 200,
|
||||
client = {
|
||||
status = { thirst = 100000 },
|
||||
anim = { dict = 'mp_player_inteat@pnq', clip = 'loop' },
|
||||
prop = { model = `bzzz_vending_prop_cbgreen`, pos = vec3(-0.03, 0.02, 0.0), rot = vec3(90.0, 20.0, 80.0) },
|
||||
usetime = 5000,
|
||||
notification = 'Bon appétit!'
|
||||
}
|
||||
},
|
||||
['bzzz_vending_prop_cbyellow'] = {
|
||||
label = 'CandyBox yellow',
|
||||
weight = 200,
|
||||
client = {
|
||||
status = { thirst = 100000 },
|
||||
anim = { dict = 'mp_player_inteat@pnq', clip = 'loop' },
|
||||
prop = { model = `bzzz_vending_prop_cbyellow`, pos = vec3(-0.03, 0.02, 0.0), rot = vec3(90.0, 20.0, 80.0) },
|
||||
usetime = 5000,
|
||||
notification = 'Bon appétit!'
|
||||
}
|
||||
},
|
||||
['bzzz_vending_prop_nothings'] = {
|
||||
label = 'Nothings',
|
||||
weight = 200,
|
||||
client = {
|
||||
status = { thirst = 100000 },
|
||||
anim = { dict = 'mp_player_inteat@pnq', clip = 'loop' },
|
||||
prop = { model = `bzzz_vending_prop_nothings`, pos = vec3(-0.03, 0.02, 0.0), rot = vec3(90.0, 20.0, 80.0) },
|
||||
usetime = 5000,
|
||||
notification = 'Bon appétit!'
|
||||
}
|
||||
},
|
||||
['bzzz_vending_prop_zebrabar'] = {
|
||||
label = 'Zebra bar',
|
||||
weight = 200,
|
||||
client = {
|
||||
status = { thirst = 100000 },
|
||||
anim = { dict = 'mp_player_inteat@pnq', clip = 'loop' },
|
||||
prop = { model = `bzzz_vending_prop_zebrabar`, pos = vec3(-0.03, 0.02, 0.0), rot = vec3(90.0, 20.0, 80.0) },
|
||||
usetime = 5000,
|
||||
notification = 'Bon appétit!'
|
||||
}
|
||||
},
|
||||
['bzzz_vending_prop_relblue'] = {
|
||||
label = 'Release blue',
|
||||
weight = 100,
|
||||
client = {
|
||||
status = { thirst = 100000 },
|
||||
anim = { dict = 'mp_player_inteat@pnq', clip = 'loop' },
|
||||
prop = { model = `bzzz_vending_prop_relblue`, pos = vec3(-0.03, 0.02, -0.01), rot = vec3(90.0, 20.0, 80.0) },
|
||||
usetime = 5000,
|
||||
notification = 'Bon appétit!'
|
||||
}
|
||||
},
|
||||
['bzzz_vending_prop_relgreen'] = {
|
||||
label = 'Release green',
|
||||
weight = 100,
|
||||
client = {
|
||||
status = { thirst = 100000 },
|
||||
anim = { dict = 'mp_player_inteat@pnq', clip = 'loop' },
|
||||
prop = { model = `bzzz_vending_prop_relgreen`, pos = vec3(-0.03, 0.02, -0.01), rot = vec3(90.0, 20.0, 80.0) },
|
||||
usetime = 5000,
|
||||
notification = 'Bon appétit!'
|
||||
}
|
||||
},
|
||||
['bzzz_vending_prop_relpink'] = {
|
||||
label = 'Release pink',
|
||||
weight = 100,
|
||||
client = {
|
||||
status = { thirst = 100000 },
|
||||
anim = { dict = 'mp_player_inteat@pnq', clip = 'loop' },
|
||||
prop = { model = `bzzz_vending_prop_relpink`, pos = vec3(-0.03, 0.02, -0.01), rot = vec3(90.0, 20.0, 80.0) },
|
||||
usetime = 5000,
|
||||
notification = 'Bon appétit!'
|
||||
}
|
||||
},
|
||||
['bzzz_vending_prop_meteorite'] = {
|
||||
label = 'Meteorite',
|
||||
weight = 200,
|
||||
client = {
|
||||
status = { thirst = 100000 },
|
||||
anim = { dict = 'mp_player_inteat@burger', clip = 'mp_player_int_eat_burger' },
|
||||
prop = { model = `bzzz_vending_prop_meteorite`, pos = vec3(-0.01, 0.00, -0.01), rot = vec3(90.0, 20.0, 80.0) },
|
||||
usetime = 5000,
|
||||
notification = 'Bon appétit!'
|
||||
}
|
||||
},
|
236
resources/[props]/bzzz_vending/data/code_for_qb-core.lua
Normal file
|
@ -0,0 +1,236 @@
|
|||
-- qb-core/shared/items.lua
|
||||
|
||||
|
||||
|
||||
bzzz_vending_prop_chips_a = {
|
||||
name = 'bzzz_vending_prop_chips_a',
|
||||
label = 'Supersalt chips',
|
||||
weight = 200,
|
||||
type = 'item',
|
||||
image = 'bzzz_vending_prop_chips_a.png',
|
||||
unique = false,
|
||||
useable = true,
|
||||
shouldClose = true,
|
||||
combinable = nil,
|
||||
description = ' '
|
||||
},
|
||||
bzzz_vending_prop_chips_b = {
|
||||
name = 'bzzz_vending_prop_chips_b',
|
||||
label = 'Salt & Sauce chips',
|
||||
weight = 200,
|
||||
type = 'item',
|
||||
image = 'bzzz_vending_prop_chips_b.png',
|
||||
unique = false,
|
||||
useable = true,
|
||||
shouldClose = true,
|
||||
combinable = nil,
|
||||
description = ' '
|
||||
},
|
||||
|
||||
bzzz_vending_prop_chips_c = {
|
||||
name = 'bzzz_vending_prop_chips_c',
|
||||
label = 'Crinkle chips - Paprika',
|
||||
weight = 200,
|
||||
type = 'item',
|
||||
image = 'bzzz_vending_prop_chips_c.png',
|
||||
unique = false,
|
||||
useable = true,
|
||||
shouldClose = true,
|
||||
combinable = nil,
|
||||
description = ' '
|
||||
},
|
||||
|
||||
bzzz_vending_prop_chips_d = {
|
||||
name = 'bzzz_vending_prop_chips_d',
|
||||
label = 'Big cheese chips',
|
||||
weight = 200,
|
||||
type = 'item',
|
||||
image = 'bzzz_vending_prop_chips_d.png',
|
||||
unique = false,
|
||||
useable = true,
|
||||
shouldClose = true,
|
||||
combinable = nil,
|
||||
description = ' '
|
||||
},
|
||||
|
||||
bzzz_vending_prop_chips_e = {
|
||||
name = 'bzzz_vending_prop_chips_e',
|
||||
label = 'Crinkle chips - Habanero',
|
||||
weight = 200,
|
||||
type = 'item',
|
||||
image = 'bzzz_vending_prop_chips_e.png',
|
||||
unique = false,
|
||||
useable = true,
|
||||
shouldClose = true,
|
||||
combinable = nil,
|
||||
description = ' '
|
||||
},
|
||||
|
||||
bzzz_vending_prop_chips_f = {
|
||||
name = 'bzzz_vending_prop_chips_f',
|
||||
label = 'Stick ribs chips',
|
||||
weight = 200,
|
||||
type = 'item',
|
||||
image = 'bzzz_vending_prop_chips_f.png',
|
||||
unique = false,
|
||||
useable = true,
|
||||
shouldClose = true,
|
||||
combinable = nil,
|
||||
description = ' '
|
||||
},
|
||||
|
||||
bzzz_vending_prop_candybox = {
|
||||
name = 'bzzz_vending_prop_candybox',
|
||||
label = 'Ps&Qs',
|
||||
weight = 100,
|
||||
type = 'item',
|
||||
image = 'bzzz_vending_prop_candybox.png',
|
||||
unique = false,
|
||||
useable = true,
|
||||
shouldClose = true,
|
||||
combinable = nil,
|
||||
description = ' '
|
||||
},
|
||||
|
||||
bzzz_vending_prop_captains = {
|
||||
name = 'bzzz_vending_prop_captains',
|
||||
label = 'Captains Log',
|
||||
weight = 200,
|
||||
type = 'item',
|
||||
image = 'bzzz_vending_prop_captains.png',
|
||||
unique = false,
|
||||
useable = true,
|
||||
shouldClose = true,
|
||||
combinable = nil,
|
||||
description = ' '
|
||||
},
|
||||
|
||||
bzzz_vending_prop_cbbrown = {
|
||||
name = 'bzzz_vending_prop_cbbrown',
|
||||
label = 'CandyBox brown',
|
||||
weight = 200,
|
||||
type = 'item',
|
||||
image = 'bzzz_vending_prop_cbbrown.png',
|
||||
unique = false,
|
||||
useable = true,
|
||||
shouldClose = true,
|
||||
combinable = nil,
|
||||
description = ' '
|
||||
},
|
||||
|
||||
bzzz_vending_prop_cbred = {
|
||||
name = 'bzzz_vending_prop_cbred',
|
||||
label = 'CandyBox red',
|
||||
weight = 200,
|
||||
type = 'item',
|
||||
image = 'bzzz_vending_prop_cbred.png',
|
||||
unique = false,
|
||||
useable = true,
|
||||
shouldClose = true,
|
||||
combinable = nil,
|
||||
description = ' '
|
||||
},
|
||||
|
||||
bzzz_vending_prop_cbgreen = {
|
||||
name = 'bzzz_vending_prop_cbgreen',
|
||||
label = 'CandyBox green',
|
||||
weight = 200,
|
||||
type = 'item',
|
||||
image = 'bzzz_vending_prop_cbgreen.png',
|
||||
unique = false,
|
||||
useable = true,
|
||||
shouldClose = true,
|
||||
combinable = nil,
|
||||
description = ' '
|
||||
},
|
||||
|
||||
bzzz_vending_prop_cbyellow = {
|
||||
name = 'bzzz_vending_prop_cbyellow',
|
||||
label = 'CandyBox yellow',
|
||||
weight = 200,
|
||||
type = 'item',
|
||||
image = 'bzzz_vending_prop_cbyellow.png',
|
||||
unique = false,
|
||||
useable = true,
|
||||
shouldClose = true,
|
||||
combinable = nil,
|
||||
description = ' '
|
||||
},
|
||||
|
||||
bzzz_vending_prop_nothings = {
|
||||
name = 'bzzz_vending_prop_nothings',
|
||||
label = 'Nothings',
|
||||
weight = 200,
|
||||
type = 'item',
|
||||
image = 'bzzz_vending_prop_nothings.png',
|
||||
unique = false,
|
||||
useable = true,
|
||||
shouldClose = true,
|
||||
combinable = nil,
|
||||
description = ' '
|
||||
},
|
||||
|
||||
bzzz_vending_prop_zebrabar = {
|
||||
name = 'bzzz_vending_prop_zebrabar',
|
||||
label = 'Zebra bar',
|
||||
weight = 200,
|
||||
type = 'item',
|
||||
image = 'bzzz_vending_prop_zebrabar.png',
|
||||
unique = false,
|
||||
useable = true,
|
||||
shouldClose = true,
|
||||
combinable = nil,
|
||||
description = ' '
|
||||
},
|
||||
|
||||
bzzz_vending_prop_relblue = {
|
||||
name = 'bzzz_vending_prop_relblue',
|
||||
label = 'Release blue',
|
||||
weight = 100,
|
||||
type = 'item',
|
||||
image = 'bzzz_vending_prop_relblue.png',
|
||||
unique = false,
|
||||
useable = true,
|
||||
shouldClose = true,
|
||||
combinable = nil,
|
||||
description = ' '
|
||||
},
|
||||
|
||||
bzzz_vending_prop_relgreen = {
|
||||
name = 'bzzz_vending_prop_relgreen',
|
||||
label = 'Release green',
|
||||
weight = 100,
|
||||
type = 'item',
|
||||
image = 'bzzz_vending_prop_relgreen.png',
|
||||
unique = false,
|
||||
useable = true,
|
||||
shouldClose = true,
|
||||
combinable = nil,
|
||||
description = ' '
|
||||
},
|
||||
|
||||
bzzz_vending_prop_relpink = {
|
||||
name = 'bzzz_vending_prop_relpink',
|
||||
label = 'Release pink',
|
||||
weight = 100,
|
||||
type = 'item',
|
||||
image = 'bzzz_vending_prop_relpink.png',
|
||||
unique = false,
|
||||
useable = true,
|
||||
shouldClose = true,
|
||||
combinable = nil,
|
||||
description = ' '
|
||||
},
|
||||
|
||||
bzzz_vending_prop_meteorite = {
|
||||
name = 'bzzz_vending_prop_meteorite',
|
||||
label = 'Meteorite',
|
||||
weight = 200,
|
||||
type = 'item',
|
||||
image = 'bzzz_vending_prop_meteorite.png',
|
||||
unique = false,
|
||||
useable = true,
|
||||
shouldClose = true,
|
||||
combinable = nil,
|
||||
description = ' '
|
||||
},
|
|
@ -0,0 +1,455 @@
|
|||
-- Add items to qb-smallresources/config.lua (Config.Consumables - custom)
|
||||
|
||||
|
||||
|
||||
['bzzz_vending_prop_chips_a'] = {
|
||||
progress = {
|
||||
label = 'Using Item...',
|
||||
time = 3500
|
||||
},
|
||||
animation = {
|
||||
animDict = 'mp_player_inteat@pnq',
|
||||
anim = 'loop',
|
||||
flags = 1,
|
||||
},
|
||||
prop = {
|
||||
model = 'bzzz_vending_prop_chips_a',
|
||||
bone = 60309,
|
||||
coords = vector3(-0.05, 0.02, -0.03),
|
||||
rotation = vector3(70.0, 20.0, 100.0),
|
||||
},
|
||||
replenish = {
|
||||
type = 'Hunger',
|
||||
replenish = math.random(20, 40),
|
||||
isAlcohol = false,
|
||||
event = false,
|
||||
server = false
|
||||
}
|
||||
},
|
||||
|
||||
['bzzz_vending_prop_chips_b'] = {
|
||||
progress = {
|
||||
label = 'Using Item...',
|
||||
time = 3500
|
||||
},
|
||||
animation = {
|
||||
animDict = 'mp_player_inteat@pnq',
|
||||
anim = 'loop',
|
||||
flags = 1,
|
||||
},
|
||||
prop = {
|
||||
model = 'bzzz_vending_prop_chips_b',
|
||||
bone = 60309,
|
||||
coords = vector3(-0.05, 0.02, -0.03),
|
||||
rotation = vector3(70.0, 20.0, 100.0),
|
||||
},
|
||||
replenish = {
|
||||
type = 'Hunger',
|
||||
replenish = math.random(20, 40),
|
||||
isAlcohol = false,
|
||||
event = false,
|
||||
server = false
|
||||
}
|
||||
},
|
||||
|
||||
['bzzz_vending_prop_chips_c'] = {
|
||||
progress = {
|
||||
label = 'Using Item...',
|
||||
time = 3500
|
||||
},
|
||||
animation = {
|
||||
animDict = 'mp_player_inteat@pnq',
|
||||
anim = 'loop',
|
||||
flags = 1,
|
||||
},
|
||||
prop = {
|
||||
model = 'bzzz_vending_prop_chips_c',
|
||||
bone = 60309,
|
||||
coords = vector3(-0.05, 0.02, -0.03),
|
||||
rotation = vector3(70.0, 20.0, 100.0),
|
||||
},
|
||||
replenish = {
|
||||
type = 'Hunger',
|
||||
replenish = math.random(20, 40),
|
||||
isAlcohol = false,
|
||||
event = false,
|
||||
server = false
|
||||
}
|
||||
},
|
||||
|
||||
['bzzz_vending_prop_chips_d'] = {
|
||||
progress = {
|
||||
label = 'Using Item...',
|
||||
time = 3500
|
||||
},
|
||||
animation = {
|
||||
animDict = 'mp_player_inteat@pnq',
|
||||
anim = 'loop',
|
||||
flags = 1,
|
||||
},
|
||||
prop = {
|
||||
model = 'bzzz_vending_prop_chips_d',
|
||||
bone = 60309,
|
||||
coords = vector3(-0.05, 0.02, -0.03),
|
||||
rotation = vector3(70.0, 20.0, 100.0),
|
||||
},
|
||||
replenish = {
|
||||
type = 'Hunger',
|
||||
replenish = math.random(20, 40),
|
||||
isAlcohol = false,
|
||||
event = false,
|
||||
server = false
|
||||
}
|
||||
},
|
||||
|
||||
['bzzz_vending_prop_chips_e'] = {
|
||||
progress = {
|
||||
label = 'Using Item...',
|
||||
time = 3500
|
||||
},
|
||||
animation = {
|
||||
animDict = 'mp_player_inteat@pnq',
|
||||
anim = 'loop',
|
||||
flags = 1,
|
||||
},
|
||||
prop = {
|
||||
model = 'bzzz_vending_prop_chips_e',
|
||||
bone = 60309,
|
||||
coords = vector3(-0.05, 0.02, -0.03),
|
||||
rotation = vector3(70.0, 20.0, 100.0),
|
||||
},
|
||||
replenish = {
|
||||
type = 'Hunger',
|
||||
replenish = math.random(20, 40),
|
||||
isAlcohol = false,
|
||||
event = false,
|
||||
server = false
|
||||
}
|
||||
},
|
||||
|
||||
['bzzz_vending_prop_chips_f'] = {
|
||||
progress = {
|
||||
label = 'Using Item...',
|
||||
time = 3500
|
||||
},
|
||||
animation = {
|
||||
animDict = 'mp_player_inteat@pnq',
|
||||
anim = 'loop',
|
||||
flags = 1,
|
||||
},
|
||||
prop = {
|
||||
model = 'bzzz_vending_prop_chips_f',
|
||||
bone = 60309,
|
||||
coords = vector3(-0.05, 0.02, -0.03),
|
||||
rotation = vector3(70.0, 20.0, 100.0),
|
||||
},
|
||||
replenish = {
|
||||
type = 'Hunger',
|
||||
replenish = math.random(20, 40),
|
||||
isAlcohol = false,
|
||||
event = false,
|
||||
server = false
|
||||
}
|
||||
},
|
||||
|
||||
['bzzz_vending_prop_candybox'] = {
|
||||
progress = {
|
||||
label = 'Using Item...',
|
||||
time = 3500
|
||||
},
|
||||
animation = {
|
||||
animDict = 'mp_player_inteat@pnq',
|
||||
anim = 'loop',
|
||||
flags = 1,
|
||||
},
|
||||
prop = {
|
||||
model = 'bzzz_vending_prop_candybox',
|
||||
bone = 60309,
|
||||
coords = vector3(-0.01, 0.02, 0.0),
|
||||
rotation = vector3(90.0, 20.0, 80.0),
|
||||
},
|
||||
replenish = {
|
||||
type = 'Hunger',
|
||||
replenish = math.random(20, 40),
|
||||
isAlcohol = false,
|
||||
event = false,
|
||||
server = false
|
||||
}
|
||||
},
|
||||
|
||||
['bzzz_vending_prop_captains'] = {
|
||||
progress = {
|
||||
label = 'Using Item...',
|
||||
time = 3500
|
||||
},
|
||||
animation = {
|
||||
animDict = 'mp_player_inteat@pnq',
|
||||
anim = 'loop',
|
||||
flags = 1,
|
||||
},
|
||||
prop = {
|
||||
model = 'bzzz_vending_prop_captains',
|
||||
bone = 60309,
|
||||
coords = vector3(-0.03, 0.02, 0.0),
|
||||
rotation = vector3(90.0, 20.0, 80.0),
|
||||
},
|
||||
replenish = {
|
||||
type = 'Hunger',
|
||||
replenish = math.random(20, 40),
|
||||
isAlcohol = false,
|
||||
event = false,
|
||||
server = false
|
||||
}
|
||||
},
|
||||
|
||||
['bzzz_vending_prop_cbbrown'] = {
|
||||
progress = {
|
||||
label = 'Using Item...',
|
||||
time = 3500
|
||||
},
|
||||
animation = {
|
||||
animDict = 'mp_player_inteat@pnq',
|
||||
anim = 'loop',
|
||||
flags = 1,
|
||||
},
|
||||
prop = {
|
||||
model = 'bzzz_vending_prop_cbbrown',
|
||||
bone = 60309,
|
||||
coords = vector3(-0.03, 0.02, 0.0),
|
||||
rotation = vector3(90.0, 20.0, 80.0),
|
||||
},
|
||||
replenish = {
|
||||
type = 'Hunger',
|
||||
replenish = math.random(20, 40),
|
||||
isAlcohol = false,
|
||||
event = false,
|
||||
server = false
|
||||
}
|
||||
},
|
||||
|
||||
['bzzz_vending_prop_cbred'] = {
|
||||
progress = {
|
||||
label = 'Using Item...',
|
||||
time = 3500
|
||||
},
|
||||
animation = {
|
||||
animDict = 'mp_player_inteat@pnq',
|
||||
anim = 'loop',
|
||||
flags = 1,
|
||||
},
|
||||
prop = {
|
||||
model = 'bzzz_vending_prop_cbred',
|
||||
bone = 60309,
|
||||
coords = vector3(-0.03, 0.02, 0.0),
|
||||
rotation = vector3(90.0, 20.0, 80.0),
|
||||
},
|
||||
replenish = {
|
||||
type = 'Hunger',
|
||||
replenish = math.random(20, 40),
|
||||
isAlcohol = false,
|
||||
event = false,
|
||||
server = false
|
||||
}
|
||||
},
|
||||
|
||||
['bzzz_vending_prop_cbgreen'] = {
|
||||
progress = {
|
||||
label = 'Using Item...',
|
||||
time = 3500
|
||||
},
|
||||
animation = {
|
||||
animDict = 'mp_player_inteat@pnq',
|
||||
anim = 'loop',
|
||||
flags = 1,
|
||||
},
|
||||
prop = {
|
||||
model = 'bzzz_vending_prop_cbgreen',
|
||||
bone = 60309,
|
||||
coords = vector3(-0.03, 0.02, 0.0),
|
||||
rotation = vector3(90.0, 20.0, 80.0),
|
||||
},
|
||||
replenish = {
|
||||
type = 'Hunger',
|
||||
replenish = math.random(20, 40),
|
||||
isAlcohol = false,
|
||||
event = false,
|
||||
server = false
|
||||
}
|
||||
},
|
||||
|
||||
['bzzz_vending_prop_cbyellow'] = {
|
||||
progress = {
|
||||
label = 'Using Item...',
|
||||
time = 3500
|
||||
},
|
||||
animation = {
|
||||
animDict = 'mp_player_inteat@pnq',
|
||||
anim = 'loop',
|
||||
flags = 1,
|
||||
},
|
||||
prop = {
|
||||
model = 'bzzz_vending_prop_cbyellow',
|
||||
bone = 60309,
|
||||
coords = vector3(-0.03, 0.02, 0.0),
|
||||
rotation = vector3(90.0, 20.0, 80.0),
|
||||
},
|
||||
replenish = {
|
||||
type = 'Hunger',
|
||||
replenish = math.random(20, 40),
|
||||
isAlcohol = false,
|
||||
event = false,
|
||||
server = false
|
||||
}
|
||||
},
|
||||
|
||||
['bzzz_vending_prop_nothings'] = {
|
||||
progress = {
|
||||
label = 'Using Item...',
|
||||
time = 3500
|
||||
},
|
||||
animation = {
|
||||
animDict = 'mp_player_inteat@pnq',
|
||||
anim = 'loop',
|
||||
flags = 1,
|
||||
},
|
||||
prop = {
|
||||
model = 'bzzz_vending_prop_nothings',
|
||||
bone = 60309,
|
||||
coords = vector3(-0.03, 0.02, 0.0),
|
||||
rotation = vector3(90.0, 20.0, 80.0),
|
||||
},
|
||||
replenish = {
|
||||
type = 'Hunger',
|
||||
replenish = math.random(20, 40),
|
||||
isAlcohol = false,
|
||||
event = false,
|
||||
server = false
|
||||
}
|
||||
},
|
||||
|
||||
['bzzz_vending_prop_zebrabar'] = {
|
||||
progress = {
|
||||
label = 'Using Item...',
|
||||
time = 3500
|
||||
},
|
||||
animation = {
|
||||
animDict = 'mp_player_inteat@pnq',
|
||||
anim = 'loop',
|
||||
flags = 1,
|
||||
},
|
||||
prop = {
|
||||
model = 'bzzz_vending_prop_zebrabar',
|
||||
bone = 60309,
|
||||
coords = vector3(-0.03, 0.02, 0.0),
|
||||
rotation = vector3(90.0, 20.0, 80.0),
|
||||
},
|
||||
replenish = {
|
||||
type = 'Hunger',
|
||||
replenish = math.random(20, 40),
|
||||
isAlcohol = false,
|
||||
event = false,
|
||||
server = false
|
||||
}
|
||||
},
|
||||
|
||||
['bzzz_vending_prop_relblue'] = {
|
||||
progress = {
|
||||
label = 'Using Item...',
|
||||
time = 3500
|
||||
},
|
||||
animation = {
|
||||
animDict = 'mp_player_inteat@pnq',
|
||||
anim = 'loop',
|
||||
flags = 1,
|
||||
},
|
||||
prop = {
|
||||
model = 'bzzz_vending_prop_relblue',
|
||||
bone = 60309,
|
||||
coords = vector3(-0.03, 0.02, -0.01),
|
||||
rotation = vector3(90.0, 20.0, 80.0),
|
||||
},
|
||||
replenish = {
|
||||
type = 'Hunger',
|
||||
replenish = math.random(20, 40),
|
||||
isAlcohol = false,
|
||||
event = false,
|
||||
server = false
|
||||
}
|
||||
},
|
||||
|
||||
['bzzz_vending_prop_relgreen'] = {
|
||||
progress = {
|
||||
label = 'Using Item...',
|
||||
time = 3500
|
||||
},
|
||||
animation = {
|
||||
animDict = 'mp_player_inteat@pnq',
|
||||
anim = 'loop',
|
||||
flags = 1,
|
||||
},
|
||||
prop = {
|
||||
model = 'bzzz_vending_prop_relgreen',
|
||||
bone = 60309,
|
||||
coords = vector3(-0.03, 0.02, -0.01),
|
||||
rotation = vector3(90.0, 20.0, 80.0),
|
||||
},
|
||||
replenish = {
|
||||
type = 'Hunger',
|
||||
replenish = math.random(20, 40),
|
||||
isAlcohol = false,
|
||||
event = false,
|
||||
server = false
|
||||
}
|
||||
},
|
||||
|
||||
['bzzz_vending_prop_relpink'] = {
|
||||
progress = {
|
||||
label = 'Using Item...',
|
||||
time = 3500
|
||||
},
|
||||
animation = {
|
||||
animDict = 'mp_player_inteat@pnq',
|
||||
anim = 'loop',
|
||||
flags = 1,
|
||||
},
|
||||
prop = {
|
||||
model = 'bzzz_vending_prop_relpink',
|
||||
bone = 60309,
|
||||
coords = vector3(-0.03, 0.02, -0.01),
|
||||
rotation = vector3(90.0, 20.0, 80.0),
|
||||
},
|
||||
replenish = {
|
||||
type = 'Hunger',
|
||||
replenish = math.random(20, 40),
|
||||
isAlcohol = false,
|
||||
event = false,
|
||||
server = false
|
||||
}
|
||||
},
|
||||
|
||||
['bzzz_vending_prop_meteorite'] = {
|
||||
progress = {
|
||||
label = 'Using Item...',
|
||||
time = 3500
|
||||
},
|
||||
animation = {
|
||||
animDict = 'mp_player_inteat@burger',
|
||||
anim = 'mp_player_int_eat_burger',
|
||||
flags = 1,
|
||||
},
|
||||
prop = {
|
||||
model = 'bzzz_vending_prop_meteorite',
|
||||
bone = 60309,
|
||||
coords = vector3(-0.01, 0.00, -0.01),
|
||||
rotation = vector3(90.0, 20.0, 80.0),
|
||||
},
|
||||
replenish = {
|
||||
type = 'Hunger',
|
||||
replenish = math.random(20, 40),
|
||||
isAlcohol = false,
|
||||
event = false,
|
||||
server = false
|
||||
}
|
||||
},
|
||||
|
||||
|
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 21 KiB |
20
resources/[props]/bzzz_vending/data/sql_if_you_need.sql
Normal file
|
@ -0,0 +1,20 @@
|
|||
INSERT INTO `items` (`name`, `label`, `weight`,`rare`, `can_remove`) VALUES
|
||||
('bzzz_vending_prop_chips_a', 'Supersalt chips', 1, 0, 0),
|
||||
('bzzz_vending_prop_chips_b', 'Salt & Sauce chips', 1, 0, 0),
|
||||
('bzzz_vending_prop_chips_c', 'Crinkle chips - Paprika', 1, 0, 0),
|
||||
('bzzz_vending_prop_chips_d', 'Big cheese chips', 1, 0, 0),
|
||||
('bzzz_vending_prop_chips_e', 'Crinkle chips - Habanero', 1, 0, 0),
|
||||
('bzzz_vending_prop_chips_f', 'Stick ribs chips', 1, 0, 0),
|
||||
('bzzz_vending_prop_candybox', 'Ps&Qs', 1, 0, 0),
|
||||
('bzzz_vending_prop_captains', 'Captains Log', 1, 0, 0),
|
||||
('bzzz_vending_prop_cbbrown', 'CandyBox brown', 1, 0, 0),
|
||||
('bzzz_vending_prop_cbred', 'CandyBox red', 1, 0, 0),
|
||||
('bzzz_vending_prop_cbgreen', 'CandyBox green', 1, 0, 0),
|
||||
('bzzz_vending_prop_cbyellow', 'CandyBox yellow', 1, 0, 0),
|
||||
('bzzz_vending_prop_nothings', 'Nothings', 1, 0, 0),
|
||||
('bzzz_vending_prop_zebrabar', 'Zebra bar', 1, 0, 0),
|
||||
('bzzz_vending_prop_relblue', 'Release blue', 1, 0, 0),
|
||||
('bzzz_vending_prop_relgreen', 'Release green', 1, 0, 0),
|
||||
('bzzz_vending_prop_relpink', 'Release pink', 1, 0, 0),
|
||||
('bzzz_vending_prop_meteorite', 'Meteorite', 1, 0, 0)
|
||||
;
|
14
resources/[props]/bzzz_vending/fxmanifest.lua
Normal file
|
@ -0,0 +1,14 @@
|
|||
fx_version 'cerulean'
|
||||
game { 'gta5' }
|
||||
author 'BzZz'
|
||||
description 'Bzzz - Vending machine props'
|
||||
version '1.1.0'
|
||||
|
||||
|
||||
|
||||
data_file 'DLC_ITYP_REQUEST' 'stream/bzzz_vending_candy.ytyp'
|
||||
|
||||
|
||||
|
||||
|
||||
|
BIN
resources/[props]/bzzz_vending/images/1.png
Normal file
After Width: | Height: | Size: 2.7 MiB |
BIN
resources/[props]/bzzz_vending/images/2.png
Normal file
After Width: | Height: | Size: 3 MiB |
BIN
resources/[props]/bzzz_vending/images/3.png
Normal file
After Width: | Height: | Size: 3.6 MiB |
BIN
resources/[props]/bzzz_vending/images/4.png
Normal file
After Width: | Height: | Size: 878 KiB |
33
resources/[props]/bzzz_vending/readme.txt
Normal file
|
@ -0,0 +1,33 @@
|
|||
Hi,
|
||||
thank you for your purchase.
|
||||
Please don't release my work any longer.
|
||||
|
||||
--------------------------------------------------
|
||||
My contact:
|
||||
Cfx forum: https://forum.cfx.re/u/bzzzi/summary
|
||||
Tebex: https://bzzz.tebex.io/
|
||||
Discord: https://discord.gg/PpAHBCMW97
|
||||
Wikipedia: https://bzzz.wiki/ (images for inventory)
|
||||
|
||||
--------------------------------------------------
|
||||
|
||||
|
||||
|
||||
Installation:
|
||||
1) Insert folder "bzzz_vending" to resources folder
|
||||
2) Add to server.cfg
|
||||
3) Restart server
|
||||
|
||||
|
||||
--------------------------------------------------
|
||||
If you stream props in ANOTHER resource, you must edit the fxmanifest.
|
||||
Add this line:
|
||||
data_file 'DLC_ITYP_REQUEST' 'stream/bzzz_vending_candy.ytyp'
|
||||
|
||||
Then the server must be restarted.
|
||||
YTYP loads properties of props.
|
||||
|
||||
This resource is drag and drop!!!!
|
||||
Insert this line only if you are starting props in another resource.
|
||||
If you load this line multiple times on the server, the props will not work.
|
||||
|