31.01.2014, 06:38
Try..
pawn Код:
forward ClubMemberList(playerid);
public ClubMemberList(playerid)
{
new name[MAX_PLAYER_NAME+1];
GetPlayerName(playerid, name, sizeof(name));
new rows, fields, string[1000];
cache_get_data(rows, fields, Handle);
for(new i; i < Max_ClubMembers; i++)
{
format(string, sizeof(string), "%s%s\n", name, fields);
}
ShowPlayerDialog(playerid, DialogClubMembers, DIALOG_STYLE_LIST, "Club members", string, "Ok", "Cancel");
return 1;
}