[RELEASE] Advanced truck inventory for ESX (black money, weapons, items)

I use ESX and the locking system included in a third part ESX menu and it’s perfect.

what locking system you use o-o?

The one in AIOMenu (20)

Bonjour, j’ai un souci avec le script de Gregos, j’ai une erreur côté serveur : Error running call reference function for resource esx_truck: citizen:/scripting/lua/scheduler.lua:351: server/main.lua:73: attempt to call a nil value (field ‘GetItemLabel’)
stack traceback:
Si quelqu’un à une solution je vous en remercie :slight_smile:

Hello, I have a problem with the Gregos script, I have a server-side error: Error running call reference function for resource esx_truck: citizen:/scripting/lua/scheduler.lua:351: server/main.lua:73: attempt to call a nil value (field ‘GetItemLabel’)
stack traceback:
If anyone to a solution , thank you :slight_smile:

you need to create an inventory coffre

in addon_inventory ??

If I press L no menu opens

Error parsing script server/main.lua in resource esx_vehicle_inventory: server/main.lua:114: expected near ‘end’
Failed to load script server/main.lua.

but the code ends at 114 : D why is not it then

you dit delete an end i think

tyes ideed / ui en effet :slight_smile:

Ok je vais essayé ça merci :slight_smile:

The script is very good
only it is so
the 2 people at the same time
Press the key to open
and double it
That’s not good, I have no identification anymore
I fix

Because if one
on the vehicle
and he can come to another
not on it
but if 2 people
At the same time you can double all elements

Please for an answer

I have exactly the same problem
do you have to fix?

there is a bug where sometimes people when putting items into the car, the items doubles in amount

I’ll submit a fix for the backspace issue, but @Jager_Bom will have to accept a pull request before it’s merged into the code. It’s a somewhat easy fix. It’s because the cancel and close operation are undefined by the script currently. I’ll try to get it submitted soon ish…

yes if that
problem then fixed
becomes. would become
many are happy
because the script is very good
only many people can
then the items
multiply if they open at the same time

because I can not find a solution

how to set a limit ? Cuz i’ve tried and seems it doesn’t work…

in config file :thinking:

Can the cops search the trunk or?

I did set a limit but after the limit i can still put stuff into the inventory of the cars

anyone know how to fix it ?