18.09.2013, 12:20
Hello. Here is some detailed information I am trying to work out.
If you have a /sellvehicletomarket command and your database is as follows:
Vehicle ID 1 - MAX_VEHICLES ID 1
Vehicle ID 2 - MAX_VEHICLES ID 2
Vehicle ID 3 - MAX_VEHICLES ID 3
Vehicle ID 4 - MAX_VEHICLES ID 4
Say these are saved in a database and you sell a vehicle to the market and make Vehicle ID 1 get deleted from the database, it will then do this:
Vehicle ID 2 - MAX_VEHICLES ID 1
Vehicle ID 3 - MAX_VEHICLES ID 2
Vehicle ID 4 - MAX_VEHICLES ID 3
How is it possible to make the MAX_VEHICLES ID the same as the database vehicle ID's when one vehicle gets deleted? Confusing.
If you have a /sellvehicletomarket command and your database is as follows:
Vehicle ID 1 - MAX_VEHICLES ID 1
Vehicle ID 2 - MAX_VEHICLES ID 2
Vehicle ID 3 - MAX_VEHICLES ID 3
Vehicle ID 4 - MAX_VEHICLES ID 4
Say these are saved in a database and you sell a vehicle to the market and make Vehicle ID 1 get deleted from the database, it will then do this:
Vehicle ID 2 - MAX_VEHICLES ID 1
Vehicle ID 3 - MAX_VEHICLES ID 2
Vehicle ID 4 - MAX_VEHICLES ID 3
How is it possible to make the MAX_VEHICLES ID the same as the database vehicle ID's when one vehicle gets deleted? Confusing.