Vehicle Types (MySQL)
#1

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?
Reply


Messages In This Thread
Vehicle Types (MySQL) - by Luis- - 04.08.2015, 21:39
Re: Vehicle Types (MySQL) - by Dokins - 04.08.2015, 21:41
Re: Vehicle Types (MySQL) - by Scenario - 04.08.2015, 21:42
Re: Vehicle Types (MySQL) - by Luis- - 04.08.2015, 21:45
Re: Vehicle Types (MySQL) - by Scenario - 04.08.2015, 22:14

Forum Jump:


Users browsing this thread: 1 Guest(s)