25.02.2013, 09:04
Create a table for vehicles if you haven't already. Create a combined primary key, consisting of the userid that's in your player's table (use foreign keys) and the auto_increment vehicleid from the vehicle's table. Then your table could look something like:
userid | vehicleid | model |
1 | 1 | 522 |
1 | 2 | 402 |
2 | 3 | 600 |