This commit is contained in:
Nordi98 2025-07-09 19:14:33 +02:00
parent 97d1f6a2f2
commit f8eb493530
31 changed files with 7767 additions and 15 deletions

View file

@ -225,8 +225,8 @@ CodeStudio.Products = {
itemPrice = 2,
itemInfo = "Mehr Fleisch als Worte des is koa Semmel, des is a Lebensgefühl!",
},
['tims_instant_nudeln'] = {
itemName = "Tim's Instant Nudeln",
['mimis_instant_nudeln'] = {
itemName = "Mimis Instant Nudeln",
itemStock = 50,
itemPrice = 2,
itemInfo = "der Kulinarische Blitzbesuch in Fernost",
@ -405,7 +405,12 @@ CodeStudio.Products = {
itemPrice = 6,
itemInfo = "",
},
['food_bag'] = {
itemName = "Papiertüte",
itemStock = 5000,
itemPrice = 4,
itemInfo = "",
},
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 541 KiB

View file

@ -28,7 +28,7 @@ config.disableClientOpenInventory = {
glovebox = true, -- Don't remove this
trunk = true, -- Don't remove this
drop = true, -- Don't remove this
--crafting = true,
crafting = true,
--shop = true
}
}
@ -82,7 +82,7 @@ config.searchPlayer = {
}
},
animation = {
active = false, -- If true, the target player should play one of the following animations. if it's not playing one of the animations, it can't be searched.
active = true, -- If true, the target player should play one of the following animations. if it's not playing one of the animations, it can't be searched.
list = { -- animation list
{ name = "missminuteman_1ig_2", anim = "handsup_base", },
{ name = "mp_arresting", anim = "idle", },

View file

@ -16,7 +16,7 @@ config.carryItmes = {
},
moveRate = 0.5, -- https://docs.fivem.net/natives/?_0x085BF80FA50A39D1 (1.0 Default)
},
present = {
pdbag = {
model = `xm_prop_x17_bag_01d`,
bone = 28422,
offset = vector3(0.15, -0.05, -0.10),
@ -24,10 +24,27 @@ config.carryItmes = {
anim = {
dict = "missfbi4prepp1",
name = "idle" -- Neutrale Stehanimation
}
},
disableKeys = {
21, -- INPUT_SPRINT
},
moveRate = 1.0
}
},
food_bag = {
model = `prop_food_bag1`,
bone = 28422,
offset = vector3(0.15, -0.05, -0.10),
rot = vector3(100.0, -50.0, 220.0),
anim = {
dict = "missfbi4prepp1",
name = "idle" -- Neutrale Stehanimation
},
disableKeys = {
21, -- INPUT_SPRINT
},
moveRate = 1.0
},
}

View file

@ -8,6 +8,6 @@ config.decayableItems = {
key: item name
value: second
]]
tosti = 172800,
food_bag = 864000,
kurkakola = 30,
}

View file

@ -3,11 +3,6 @@
-- example use: if you set the max usage of a repair kit to 5. after repairing the vehicle 5 times the repair kit will be deleted
-- Added items need to be set to 'uniq = true' in item list
config.maxUseAmount = {
binoculars = {
amount = 5,
autoDecreases = true -- When set to true, the number decreases by one when you use the item.
--if it is set to false, you need to trigger x event after using the item "TriggerServerEvent("tgiann-inventory:decreaseMaxUseAmount", itemSlot)"
},
testitemuniq = {
amount = 5,
autoDecreases = true -- When set to true, the number decreases by one when you use the item.