04.04.2012, 11:27
I'm planning on creating a feature wherein players can check who are online in their family with the use of dialogue boxes. The part that I don't know is, creating the message output part.
So I've started with this:
As you can see, I'm not sure of what to put inside the loop to generate the text.
Reputation for anyone who could help me on this, thanks.
So I've started with this:
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(Player[i][Family] == Player[playerid][Family])
{
// What's the code here to list all the players in the same family?
}
}
ShowPlayerDialog(playerid, FAMILY_DIALOGUE, DIALOG_STYLE_LIST, "Online Members", MESSAGE OUTPUT HERE, "Back", "");
Reputation for anyone who could help me on this, thanks.