Car Trunk Script for ESX?
Is there a script for essentialmode that the player has a trunk where he can store drugs food weapons, if so please a link
Best regards
Car Trunk Script for ESX?
Is there a script for essentialmode that the player has a trunk where he can store drugs food weapons, if so please a link
Best regards
Thanks but I already have. and thatâs not what Iâm looking for I want to put items in the vehicle
if your using ESX ull have to script it if ur using vRP its already implemented
yes we have esx. I just do not know how to script it, so you can put things in the vehicle
So my question is if there is a script where you can put items in vehicle for esx
to my knowledge there isnt one made public but im sure some server owners already scripted it
Because I search and search, but I can not find anything. ESX has many options, and it would be very good for example for drug dealers and for all other players
So if somebody scripted something like that we would be very happy. Since there is the first script for ESX where you have a trunk and it would bring a lot of game time.
Hi ! Take a look at the ESX public github, vehicle inventory repo.
It might not be exactly what youâre looking for but it could help.
yes, thatâs exactly what Iâm looking for. Hope it works for esx (esx_vehicle_inventory) Thanks in advance
I hope it works. I didnât have time to test it but I will soon.
so-and-so, thank you
It worked???
I tested it and it worked, but does anyone know how I can put weapons in the inventory?
Hi @Opiez, the resource has been updated and I think they added the weapons.
Server/main :
if itemType == âitem_weaponâ then
xPlayer.addWeapon(item)
end
They also added the weight.
I didnât update it yet but you should take a look.