astron51 / esx_visioncar

Server sided Fuel System
0 stars 1 forks source link

Unable to execute a query! #1

Open Kvitfrost opened 1 month ago

Kvitfrost commented 1 month ago

Thank you! This actually works with money and such..! :smiley:

But there is a error when fueling.

[      script:oxmysql] Error: esx_visioncar was unable to execute a query!
[      script:oxmysql] Query: SELECT fuel FROM owned_vehicles WHERE plate = ?
[      script:oxmysql] ["IH 12779"]
[      script:oxmysql] Unknown column 'fuel' in 'field list'

After fueling the fuel tank jumps up and down from 50% to 100% - and it goes back to half. and i can fill up the tank unlimited. Probably due to the error above.

astron51 commented 1 month ago

Make sure your "owned_vehicles" table have "fuel" column.

Kvitfrost commented 1 month ago

Make sure your "owned_vehicles" table have "fuel" column. Ah okey - edited

Is there possible to make it not use sql for fuling? (we use vMenu - so there won't be any "owned" vehicles.