Why does this work perfect in windows but not in linux?
#3

vTotal is the amount of vehicles, it increases as each vehicle is created. So when i do /savecars, it only saves the vehicles that I've wanted to save using /vsave

I'll try it with MAX_VEHICLES instead, and make a break; once there's no more vehicles to check in the loop.

The database is hosted with the server, its only the vehicles saving and the properties saving that cause the lag. I can save all of the online players files in under a second with no lag at all, and there is much more data involved than there is in the vehicle and property database.

It's weird but this was a lot quicker and had no problems using dini for this, but with the database it's just total lag when trying to save the info.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)