12.07.2016, 08:33
(
Last edited by Zeus666; 12/07/2016 at 10:12 AM.
)
Quote:
Not quite correct. If a player can be a member of only ONE faction at a time then you need a column (factionId) in your player table that is a reference to the faction table (id column). The 'leader' column in the faction table goes in the opposite direction and is a reference to the player table.
If a player can be a member of multiple factions at the same time, consult my association table tutorial, linked in my signature. |
Only one faction per member & leader.
And how can I add to pawno the new table and the code? where and how
And how to save factionID's at /makefaction?