/clan -members
#1

I'm working on a clan system and i want to show the clan owner a list with all the members and i tried like this but it won't show me the members,it will show me this message SELECT * FROM `users` WHERE `users`.`Clanid` = 4

case 0:
{
format(szQuery, sizeof(szQuery), "SELECT * FROM `users` WHERE `users`.`Clanid` = '%d'", PlayerInfo[playerid][pClanid]);
new Cache: result = mysql_query(mysql, szQuery);
cache_delete(result);
ShowPlayerDialog(playerid, DIALOG_CLANMEMBERS, DIALOG_STYLE_TABLIST_HEADERS, "Clan members:", szQuery, "Select", "Cancel");
}
Reply


Messages In This Thread
/clan -members - by bosmania - 02.03.2019, 08:27
Re: /clan -members - by Calisthenics - 02.03.2019, 09:21
Re: /clan -members - by bosmania - 02.03.2019, 09:26
Re: /clan -members - by Calisthenics - 02.03.2019, 09:49

Forum Jump:


Users browsing this thread: 1 Guest(s)