04.08.2015, 21:39

Right, I'm revamping my vehicle system, and am wondering what I'm best off doing:

All's I have in my head at the minute would be to add in three fields into my vehicle table structure.

- FactionID (default value would be 0)

- GangID (default value would be 0)

- JobID (default value would be 0)

- Owned (default value would be 0)

Then if it's a faction vehicle for example, the value would be 1 (which is the faction id of LSPD) and the other 3 fields would then be 0.

Or is there a better and / or easier way to do this?

All's I have in my head at the minute would be to add in three fields into my vehicle table structure.

- FactionID (default value would be 0)

- GangID (default value would be 0)

- JobID (default value would be 0)

- Owned (default value would be 0)

Then if it's a faction vehicle for example, the value would be 1 (which is the faction id of LSPD) and the other 3 fields would then be 0.

Or is there a better and / or easier way to do this?