HumanTree92 / esx_advancedvehicleshop

Advanced Vehicle Shops for FiveM ESX Legacy
http://velocitientertainment.com/
27 stars 15 forks source link

esx_advanvedvehicleshop/client/main.lua:248: #27

Closed YInfeRnal closed 4 years ago

YInfeRnal commented 4 years ago

Describe the Bug | A Clear & Concise Description of Bug when i enter ambulance shop to buy vehicle in ambulance i got that error esx_advanvedvehicleshop/client/main.lua:248: please ?

Questions Have you looked through the Closed Topics?: y Have you looked through the Wiki?: y What Version of es_extended are you using?: exm Are you using a Pre-Installed ESX?: no Are you using Essentialmode?: y Are you using OneSync?: y Linux or Windows?: w

HumanTree92 commented 4 years ago

Did you edit the sql?

HumanTree92 commented 4 years ago

Whats the full error if you have it?

YInfeRnal commented 4 years ago

thats the error : https://imgur.com/a/Om9MMEy

YInfeRnal commented 4 years ago

thats my sql : https://imgur.com/a/fScqNSm

YInfeRnal commented 4 years ago

and : https://imgur.com/a/AOufGu8

YInfeRnal commented 4 years ago

whats wrong?

YInfeRnal commented 4 years ago

police shop fix

HumanTree92 commented 4 years ago

It could be many thins.

  1. For instance it could be your advancedparamedic is too long of a category name. Try shortening the names of your categories. You can leave the labels.
  2. A vehicle model can't be found.
YInfeRnal commented 4 years ago

a vehicle model is fine but i try 1 now

HumanTree92 commented 4 years ago

It seems you are also missing the category for paramedic3

YInfeRnal commented 4 years ago

i dont have paramedic 3 grade :small

HumanTree92 commented 4 years ago

Well look at this image https://imgur.com/a/AOufGu8

HumanTree92 commented 4 years ago

ID 18, 19, & 20 for the category say paramedic3

YInfeRnal commented 4 years ago

shht thats my fail i dont have paramedic3 :D :D but i add it here :D wait i fix it

HumanTree92 commented 4 years ago

Also what is the point in having all those grades if they have access to the same vehicles. Honestly its a cluster fuck.

YInfeRnal commented 4 years ago

Salary? :D i removed paramedic3 still not working... i cut advanced paramedic but sitll not work

YInfeRnal commented 4 years ago

:(:(:(:(

YInfeRnal commented 4 years ago

thats my ambulance grade

YInfeRnal commented 4 years ago

https://imgur.com/a/vJTd1C0

HumanTree92 commented 4 years ago

So you removed ID 18, 19, & 20 from vs_ambulance_categories

YInfeRnal commented 4 years ago

this all my tables : https://imgur.com/a/u7holIV

YInfeRnal commented 4 years ago

for the policejob is fixes and have no problem but when i setjob to ambulance and go to ambulance shop error happen and game frezzed you need to do freeze unfreeze can you do with anydesk maybe?

YInfeRnal commented 4 years ago

whats wrong you think?

HumanTree92 commented 4 years ago

So you don't have any problems with the police one. Whats your grades & categories look like for police

YInfeRnal commented 4 years ago

no i dont have any problem with police one

HumanTree92 commented 4 years ago

Can you send pictures of your police stuff

YInfeRnal commented 4 years ago

yes wait

YInfeRnal commented 4 years ago

bandicam 2020-07-26 01-19-04-811 bandicam 2020-07-26 01-19-58-178 bandicam 2020-07-26 01-20-25-477

bandicam 2020-07-26 01-19-52-247

YInfeRnal commented 4 years ago

thats my police work with no any problem

HumanTree92 commented 4 years ago

Can you export & send me the files for vs_ambulance, vs_ambulance_categories, & job_grades

YInfeRnal commented 4 years ago

yes wait

YInfeRnal commented 4 years ago

https://filebin.net/7koco6yeg2zni3he

YInfeRnal commented 4 years ago

thats the video from what happen https://filebin.net/jofgwhwgesdjc2ru

HumanTree92 commented 4 years ago

So when i downloaded those files for me it shows this:

  1. For vs_ambulance - (3, 'Ambulance 1', 'lsambulance', 200, 'emt1\r\n'),
  2. For vs_ambulance_categories - ('emt1\r\n', 'EMT 1'),
YInfeRnal commented 4 years ago

wtf why this happen in the phpmyadmin its fixed ! wait i try that

YInfeRnal commented 4 years ago

the problem is fixed why in phpmyadmin its not like this ahh bro thanks you this is not your scrip problem but you help me to fix my problem thanks for your help

HumanTree92 commented 4 years ago

Not a problem.

HumanTree92 commented 4 years ago

Also that many grades just for salary is kinda dumb. Honestly if your setting this up for a Private server then it would be fine but if your trying to setup a Public Server good luck as it doesn't look that great. If i was you i would re-write your grades & Categories. (This is the best option as for me my grades are like this) for Fire/Rescue. You should probably do the same thing for your Police. Its just looks better to have actual ranks.