Help ME OUT
#3

Код:
stock bool:CheckGang(gangid)
{
	new total = 0, query[128];
	mysql_format(connection, query, sizeof(query), "SELECT count(*) AS `total` FROM `member` WHERE `gang` = %d", Gang[gangid][GangID]);
	mysql_query(connection, query, true);
	total = (cache_num_rows() > 0) ? cache_get_field_content_int(0, "total") : 0;
	return (total >= MAX_GANG_MEMBER) ? false : true;
}
Reply


Messages In This Thread
Help ME OUT - by Marv123 - 29.12.2018, 13:22
Re: Help ME OUT - by Kraeror - 29.12.2018, 13:25
Re: Help ME OUT - by Marv123 - 29.12.2018, 13:38
Re: Help ME OUT - by Kraeror - 29.12.2018, 13:49
Re: Help ME OUT - by Marv123 - 29.12.2018, 13:59
Re: Help ME OUT - by Marv123 - 29.12.2018, 14:15
Re: Help ME OUT - by iorp - 29.12.2018, 17:11
Re: Help ME OUT - by Marv123 - 30.12.2018, 01:47
Re: Help ME OUT - by Undef1ned - 30.12.2018, 02:21
Re: Help ME OUT - by Marv123 - 30.12.2018, 02:27
Re: Help ME OUT - by iorp - 30.12.2018, 02:53
Re: Help ME OUT - by Logic_ - 30.12.2018, 02:57
Re: Help ME OUT - by cuber - 30.12.2018, 03:27

Forum Jump:


Users browsing this thread: 2 Guest(s)