Open NZBlackKiwi opened 4 years ago
UPDATE owned_vehicles SET stored = 0
and UPDATE owned_vehicles SET stored = 2
in server/main.lua
UPDATE owned_vehicles SET stored = '0'
and
UPDATE owned_vehicles SET stored = '2'
Sorry also one other thing the cars arent respawning when u come back to the carpark
1. Find all `UPDATE owned_vehicles SET stored = 0` and `UPDATE owned_vehicles SET stored = 2` in `server/main.lua` 2. Replace with ``` UPDATE owned_vehicles SET stored = '0' ``` and ``` UPDATE owned_vehicles SET stored = '2' ```
sorted it mate had to be 'sorted' = '0' or '2'
So im getting a db error saying incorrect syntax both when saving car and retrieving where u have "set stored 0 or 2" in there sql statement its saying it needs to be an identifier any ideas thanks
Great script BTW