Closed Cluts closed 1 year ago
1) For vs_ambulance_categories
& vs_police_categories
& vs_mechanic_categories
& vs_taxi_categories
name
should be the job_grades namelabel
should be the job_grades label
2) For vs_ambulance
& vs_police
& vs_mechanic
& vs_taxi
id
should start at 1 and so on.name
should be the vehicle name.model
should be spawn name.price
should be the vehicles price.category
should be the job_grades name
3) You can find Examples in the esx_advancedvehicleshop.sql
Questions Which Script are you having Issues with?: esx_advancedvehicleshop Have you made changes to anything besides the
config.lua
?: No Have you looked through the Closed Topics?: Yes Have you looked through the Wiki?: Yes Are you using a Pre-Installed ESX? If Yes who?: Yes, ESX Legacy 1.8.5 What Verison of ESX Legacy are you using?: 1.8.5 Are you using OneSync?: Yes Linux or Windows?: WindowsDescribe the Bug | A Clear & Concise Description of the Bug This happens whenever I try to buy a car in : policejob, ambulancejob, mechanicjob. (doesn't happen in taxi shop but menu item appears as "undefined" instead of "Taxi" (As label is set in config.lua). No errors in console. This is what my SQL Looks like: and this is what the code at that line number looks like:
I was thinking I should modify "sVehicles" into another variable, but I didn't wanna mess it up more than it is lol, I already did everything that readme.txt said in order to make this script work with police & ambulance job, but this still happens with mechanicjob also. I think there's a problem when "buying" the car instead of "spawn" the car (like taxi job).
Thanks in advance! Cluts.-