Thanks mate, I personally use esx_vehicleshop. Having had a quick glance at esx_advancedvehicleshop it should work fine with it as it’s using the same database rows but I honestly can’t guarantee it. Best way to know for sure is to give it a try and maybe play around with it a bit
esx_vehicleshop is what we have currently on the server and have tried to use it alongside another garage script but don’t think they are the best match… having errors with ‘job’ in f8 (haven’t experienced since moving from advanced to standard).
Don’t suppose you could send a version of your esx_vehicleshop that works alongside this script and how your owned_vehicles database table looks like?
It’s odd that ‘job’ is giving you an error. The only difference is that in the advanced script it’s default is being set as ‘civ’ instead of NULL.
You can’t try and replace the job line in .sql with
`job` VARCHAR(20) NOT NULL DEFAULT 'civ',
I don’t want to give you my esx_vehicleshop as I am using an outdated version of it so it wouldn’t make much sense
So only issue Im getting right now is when I store the vehicle in my garage and try to pull it out doesnt allow me to just says vehicle is out so I check the impound not there. I restarted the server now the vehicle isnt in the garage at all. Its saving to my owned_vehicles table but no car in the garage or impound!
So I think the issue here is going to be that I am using a steam identifier to get the vehicles that the player owns, where here it’s a different kind of identifier
We use the used car lot and when someone purchases a car from the lot, it gets transferred to the impound. Is there a way to change the garage it gets sent to?
could you see a way of implementing a feature for cops/mechs to be able to send a car to the impound as at the moment the only way is to delete the vehicle (an admin command).
Thanks again for the release, look forward to hearing back from you!
For the first question that sounds like it’s the issue of the used car lot script so I can’t really offer you any support for that.
AFAIK cops and mechanics should be sending the vehicle to the impound as the vehicle is being deleted (the script checks 2 things: whether the vehicle is stored and whether ite exists in the game world).
Quite possibly, I thought there may be somewhere within the script that sends cars to that garage by default but we can work around that for sure!
What function or command would allow us for mechs and police to send the vehicle to the impound as we would look to embed this option into their menus. Or can they just take a vehicle to an impound garage and park it there?
The impound doesn’t have a circle to store the vehicle into. So you have to make sure that the police and mechanic job are deleting the vehicle from the world. A function like ESX.Game.DeleteVehicle() does the trick. So just make sure the vehicle is being deleted and it should appear for the person in the impound menu.