HumanTree92 / VENT_ESX_Scripts

FiveM ESX Scripts
http://velocitientertainment.com/
GNU General Public License v3.0
63 stars 75 forks source link

Bug Report - esx_advancedvehicleshop #26

Closed Cluts closed 1 year ago

Cluts commented 1 year ago

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?: Windows

Describe 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). image No errors in console. This is what my SQL Looks like: image and this is what the code at that line number looks like: image

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.-

HumanTree92 commented 1 year ago

How to use Ambulance, Police, Mechanic, & Taxi Shop

1) For vs_ambulance_categories & vs_police_categories & vs_mechanic_categories & vs_taxi_categories