clan problem
#1

ok so i buy a new clan from shop and i try to invite a player into it
but, even if im the only one from the clan, it says the clan reached maximum members
what is wrong here?

dialog_shop https://pastebin.com/uvVMKYbr
cmd:cinvite https://pastebin.com/drA1wNzb
Reply
#2

GetClanMembers <-- type this function here, problem must be in.
Reply
#3

Код:
stock GetClanMembers(clanid)
{
	new string[256],
		members=0;
	format(string, sizeof(string), "SELECT * FROM `users` WHERE `Clan` = '%d'", clanid);
	new Cache: membresult = mysql_query(SQL, string);
	for(new i, j = cache_get_row_count (); i != j; ++i)
	{
		members++;
	}
	cache_delete(membresult);
	return members;
}
Reply
#4

can anyone help with this?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)