Quote:
Originally Posted by Noris
PHP код:
#1146 - Table 'stratumrp.factions' doesn't exist
Weird, even though ive already created that table.
|
Are you sure you created the table in the database "stratumrp"? Posting some screenshots would be useful for us.
Quote:
Originally Posted by Vince
Needs one more column to store rank. The player with the highest rank is then automatically the leader, so a faction can't be leaderless.
|
Good idea. I suppose when a player is deleted from the main table, leader should be set to null on its own and with a query to check if leader is null to load the player's name with the highest rank instead.