29.08.2015, 21:59
Do you want to check online members from a squad?if yes then why bothering selecting from database and..
but If you want to make it show offline members, since there can be only two memebrs, then why not adding an enum for squads and putting SquadMember[MAX_PLAYER_NAME] And SquadMemebr2[MAX_PLAYER_NAME] or you can put them both in SquadMember[2][MAX_PLAYER_NAME], it doesnt matter,and when someone joins a squad place his name in SquadMember... and for checking the members just send a message of their names.
but If you want to make it show offline members, since there can be only two memebrs, then why not adding an enum for squads and putting SquadMember[MAX_PLAYER_NAME] And SquadMemebr2[MAX_PLAYER_NAME] or you can put them both in SquadMember[2][MAX_PLAYER_NAME], it doesnt matter,and when someone joins a squad place his name in SquadMember... and for checking the members just send a message of their names.