ESX_GiveCarKeys

I have a little question. Its not related to your script though. Its for esx_vehicleshop. When a player leaves the game/FiveM crashes, where can they retrieve the cars? Because in the garage it says: not in garage. but obviously its despawned. Its not in the Impound lot either.
Where can they get their cars back?
Greetings,
Takuya

I believe that scripts returns cars on server restart to the garage

Works fine on mine, check your database structure.

Drop some more info and Iā€™ll help.

Resolved by trimming the plates. in the client lua

On vehicleshop or on givecarkeys?
Let me know so I can update the repo.

Glad to see you got it.

I can submit a PR with changes for ya

Sure thing, thatā€™d be great thanks.

anyone have the database line that I can add?

doesnt work for me at all

Did you try the new update?

Let me know what errors you get.

Updated new link to 1.1*

i got it working last night. but thanks, Iā€™ll look at the update here in a bit.

Mind telling the others what your problem was and how you fixed it?
That might help others in the future, cheers!

I had to trim the plates in server file. Iā€™ve encountered some issues with it though, some peopleā€™s garages bug out + they donā€™t get keys from esx_locksystem etc. Iā€™ll report back in detail in a bit.

Anyone know a good vehicle lock system that works?

I personally use esx_vehiclelock. Easy to use, and thereā€™s a comit to fix where someone breaks the window and can unlock it. Never had any problems with it. https://github.com/ESX-PUBLIC/esx_vehiclelock

I cant get it work.
Just /givecarkeys and then no one have keys :slight_smile:
Im using esx vehiclelock but that does nto include feature to sell cars between players :frowning:

thanks

I am having a give key issue with this script do you know of a fix? am fairly new to all this but have a nice server up and running just have some minor touches im unsure how to fix

its working only with newest PDM where plate is in standalone plate column

Hi, can you help me ? How to add givecarkeys to nb_menuperso?

thank

A way to have that, but with the other player paying money??

so is this scripted tied in with locking the car as well or no