Getting all members of club in a dialog problem
#2

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;
}
Reply


Messages In This Thread
Getting all members of club in a dialog problem - by thimo - 31.01.2014, 06:24
Respuesta: Getting all members of club in a dialog problem - by Zume - 31.01.2014, 06:38
Re: Getting all members of club in a dialog problem - by thimo - 31.01.2014, 06:42
Respuesta: Re: Getting all members of club in a dialog problem - by Zume - 31.01.2014, 06:53
Re: Getting all members of club in a dialog problem - by thimo - 31.01.2014, 06:58
Re: Getting all members of club in a dialog problem - by thimo - 31.01.2014, 14:18

Forum Jump:


Users browsing this thread: 1 Guest(s)