Very nice and well done. Trunk is not working with esx_drp_garage. It only worked for me with esx_advancedgarage
I use esx_DRP_garage and it work flawlessly with trunk. check yo script dude… its not caused by this hud.
EDIT: here it is, in the city default garage of drp… trunk open, with access to my inventory
AND STILL THE GODDAMN PARACHUTE HAVE NO PICTURES!!! the name of the file just dont work on the pngs. maybe its potato.png
Hi.
Im trying to add several items into the inventoryhud, but can’t use thoose items.
I have implemented them in database , but i just can’t use them. I can ust water and bread just fine, but chocolate just don’t work…
Can someone tell me how to fix this? 
I can’t use ‘chocolate’
Thanks in advance
Add this to your __resource.lua “html/img/items/GADGET_PARACHUTE.png”,
Make sure to remove the , at the end if you place it on the last line
Then call you png GADGET_PARACHUTE
This isn’t a Inventory problem, but not having your edible item in your ‘esx_basicneeds’ script.
Whenever you have a food item you need to place it in this script in order for it to work. So if you want to be able to use Chocolate you need to add to your Client/main.lua:
RegisterNetEvent(‘esx_basicneeds:onEatChocolate’)
AddEventHandler(‘esx_basicneeds:onEatChocolate’, function(prop_name)
if not IsAnimated then
prop_name = prop_name or ‘prop_choc_ego’
IsAnimated = true
Citizen.CreateThread(function()
local playerPed = PlayerPedId()
local x,y,z = table.unpack(GetEntityCoords(playerPed))
local prop = CreateObject(GetHashKey(prop_name), x, y, z + 0.2, true, true, true)
local boneIndex = GetPedBoneIndex(playerPed, 18905)
AttachEntityToEntity(prop, playerPed, boneIndex, 0.12, 0.035, 0.009, -30.0, -240.0, -120.0, true, true, false, true, 1, true)
ESX.Streaming.RequestAnimDict('mp_player_inteat@burger', function()
TaskPlayAnim(playerPed, 'mp_player_inteat@burger', 'mp_player_int_eat_burger_fp', 8.0, -8, -1, 49, 0, 0, 0, 0)
Citizen.Wait(3000)
IsAnimated = false
ClearPedSecondaryTask(playerPed)
DeleteObject(prop)
end)
end)
end
end)
and add to your Server/main.lua:
ESX.RegisterUsableItem(‘chocolate’, function(source)
local xPlayer = ESX.GetPlayerFromId(source)xPlayer.removeInventoryItem(‘chocolate’, 1)
TriggerClientEvent(‘esx_status:add’, source, ‘hunger’, 100000)
TriggerClientEvent(‘esx_status:add’, source, ‘thirst’, 40000)
TriggerClientEvent(‘esx_basicneeds:onEatChocolate’, source)
TriggerClientEvent(‘esx:showNotification’, source, _U(‘used_chocolate’))
end)
You can adjust the variables for the “hunger” and “thirst” to w/e numbers you want.
And this is what you have to do for every item you add that involves eating/drinking.
But are you able to put things into the trunk?
yes and it stay there (i see it inside my SQL BD) reboot server, respawn car through DRP_garage at the green spot, go into the back, hit Y… [i had to mod 1 small radius, but thats it, for the anim to work the trunk] but anim or not, i can put item in it, and get it back beyhond server restarts… once again, obviously, its in the BD…
I couldn’t make it work until i installed esx_advancedgarage, but thanks 
just hope it could give you some hope in drp… im not preaching for this garage specificaly but it work find, so there is a way to fix it… hope if you will…

i thought i tried that GADGET_ , WEAPON_ , and parachute.png …
will gladely retry tonight, thank you !
EDIT: it did work, so i missed something the first time and never tried a 2nd time, shame on me! shame!
There is really a problem with the weapon now… it does not always appear in the player inventory when we search them… I had a knife, tazer, pistol and the player was only seeing the tazer.
One player had a knife and and nobody was able to see his knife in his inventory
hi / is a big bug in your script
in the port of gang/mafia depost and Take item
for solwing this problem we need to a smilar port of property inventory
plz check it this cm
big problem
Fix YOUR problem. This script is perfect.
It cant be my 60+ script loaded in my ressources… it MUST be a bug from YOUR script that is f#cked…
hahahahaha, sorry, sarcasm and coffee goes well together this morning
Ok Bro
/ Go test the problem created
Me too
Help me pls
The problem with weapon is:
If you have a pistol and the person you’re frisking is also having a pistol then you will see it other wise you will not.
It looks like that you can only see weapons that you have on you.
This script doesnt provide options for gangs / mafia,
/openinventory command is for admins only sets the ace_permissions
should really only be used by - Police and if you Robbing a player or if your An admin.
il also look at the weapons today, i posted a fix for removing weapons you have earlier in the thread, but weapons not showing is a diffrent issue, il see what i can find
it’s possible to have two or more images for the same item? So you can receive the same item but with different images
