About ESX Legacy 1.75 I use esx_boat to buy a boat and he got this error. Why is it bad argument #1 to ‘for iterator’ (table expected, got nil)
I have no problem buying cars and planes. Do I need to update something in es_extended? (esx_boat is also a file in ESX Legacy 1.75)
go to es_extended , go to client folder, open up functions.lua , search for line 626 and commaand out these lines :
– for tyre,idx in pairs(TyresIndex[numWheels]) do
– if IsVehicleTyreBurst(vehicle, idx, false) then
– tyreBurst[tostring(idx)] = true
– else
– tyreBurst[tostring(idx)] = false
– end
– end
save and restart server.
Should work fine now.
I had the same problem, but boats dont have tyres ;).
I can save them in boat garage and eden garage as well.
Good luck!