Edited/Made by Human Tree92 (Velociti Entertainment Customs & Wiki)
- This Vehicle Shops works exactly like esx_vehicleshop.
- Currently has 11 Different Vehicle Shops.
- Ambulance, Police, Mechanic, Taxi, Aircrafts, Boats, Cars, Trucks, & 3 VIP Shops (Aircrafts, Boats & Cars)
- To make this Script fully work with
esx_policejob & esx_ambulancejob
- edit
client/vehicle.lua
and do a search foresx_vehicleshop
& change it toesx_advancedvehicleshop
then edit thefxmanifest.lua
& remove the dependency foresx_vehicleshop
.
- edit
- You can only sell vehicles at the shop you bought it from.
- Example: If you a buy a vehicle at the Truck Shop you won't be able to sell it at the Car Shop.
- If you want to use the Ambulance or Police Shop you will need to Edit the sql to your needs before you upload it.
- I have added my VIP Aircraft, Boat & Car Shop but you will need to setup that on your own. There will be no help from me.
- This works perfectly with my esx_advancedgarage. I suggest using it over any other garage system including esx_policejob & esx_ambulancejob Garages.
- New System will pull Vehicle Name & Vehicle Category & save it in the Database. This way you don't need a vehicle_names.lua file.
- In order to Migrate Vehicle go to fxmanifest.lua and uncomment the 'server/migrate.lua'
- Config.Main.PlateUseSpace will add a Double Space in between the Letters and Numbers.
- Required:
- FiveM Client/Server Build 4267 or Higher
- Set Game Build to Tuner Update
+set sv_enforceGameBuild tuner
- ESX Legacy V1.6+
- Optional:
- Import the
esx_advancedvehicleshop.sql
into your database. - Place
esx_advancedvehicleshop
in your ESX Directory - Add
start esx_advancedvehicleshop
to your server.cfg - Edit the
config.lua
to your liking
- For
vs_ambulance_categories
&vs_police_categories
&vs_mechanic_categories
&vs_taxi_categories
- The column
name
should be the job_grades name - The column
label
should be the job_grades label
- For
vs_ambulance
&vs_police
&vs_mechanic
&vs_taxi
- The column
id
should start at 1 and so on. - The column
name
should be the vehicle name. - The column
model
should be spawn name. - The column
price
should be the vehicles price. - The column
category
should be the job_grades name
- You can find Examples in the
esx_advancedvehicleshop.sql