Jump to content

Recommended Posts

Posted

Have a vehicles table with all of the columns relating to the vehicles properties then a foreign key for the players unique ID (ex. OwnerID). To get the players vehicles just fetch all vehicles where the players unique ID (ID/GUID/Whatever) matches that unique ID on the vehicles table (OwnerID). To save a new vehicle to the database as mentioned above you'll have a vehicle table with the vehicle properties and it's just a matter of doing an INSERT/UPDATE query with the required data. There are other more detailed database design methods but this one is pretty universal. 

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...