08.02.2013, 18:00
I've made a perfect Car Ownership and everything works perfect till I restart the server.
The COS is based on IG Vehicle IDs so I can retrieve data from the file when a player who is not the owner enters it.
But there is one bug that i can't solve. I buy a car and drive it around, data stores in a file.Then I restart the server and then the cars don't load up in the way like they were created Ex: There are 5 cars on the server and I buy a sixth car and the car file is named "6". Then I restart the server and get into the car it has the data of the car 5 and so on.
The cars didn't create like they did before the restart.
Is there a way to change/impress this ?
Does anyone else have other ideas with the IDs ?
Please help, thanks.
The COS is based on IG Vehicle IDs so I can retrieve data from the file when a player who is not the owner enters it.
But there is one bug that i can't solve. I buy a car and drive it around, data stores in a file.Then I restart the server and then the cars don't load up in the way like they were created Ex: There are 5 cars on the server and I buy a sixth car and the car file is named "6". Then I restart the server and get into the car it has the data of the car 5 and so on.
The cars didn't create like they did before the restart.
Is there a way to change/impress this ?
Does anyone else have other ideas with the IDs ?
Please help, thanks.