18.10.2017, 13:50
Sorry for bumping this topic but i still don't understand a thing.
A player mod his car , server insert the mod into the vehicle_mods and the player reconnect and the server loads the mods for his vehicle.
But if player change the car spoiler. How the server knows that he needs to rewrite a mod from vehicle_mods so there will be no double spoilers?
I mean i want to know how to make the system to not have duplicate mods(2 spoilers or 2 bumpers) because as far i see the database design it not allow to be 2 same mod ids but not same 2 types of mods
A player mod his car , server insert the mod into the vehicle_mods and the player reconnect and the server loads the mods for his vehicle.
But if player change the car spoiler. How the server knows that he needs to rewrite a mod from vehicle_mods so there will be no double spoilers?
I mean i want to know how to make the system to not have duplicate mods(2 spoilers or 2 bumpers) because as far i see the database design it not allow to be 2 same mod ids but not same 2 types of mods