09.10.2010, 15:53
My vehicle ownership system is very complicated, it creates a unique 10 digit number, and creates an ini file using that number.
In the ini file I store the model, color, mods, insurance, destroy count, paint ID, spawn position, any parking tickets, vehicle locks, trunk locks, trunk contents and owner.
Then I simply store the ID of the vehicle in the players user file. This way the players can own more than one vehicle, and 'sell' eachother vehicles.
In the ini file I store the model, color, mods, insurance, destroy count, paint ID, spawn position, any parking tickets, vehicle locks, trunk locks, trunk contents and owner.
Then I simply store the ID of the vehicle in the players user file. This way the players can own more than one vehicle, and 'sell' eachother vehicles.