12.02.2014, 15:27
Quote:
If you want for such variables to save, then SQL would be the best way to store player relationships.
(relationships table: one column AND one row per every player) Layout: pawn Код:
SELECT * FROM `relationships` WHERE `player` = 'BOB' AND `CHRIS` = 1 If there's any result then bob is a friend of chris, else, they are not friends. |