MySQL r41 help!
#5

Check this https://sampwiki.blast.hk/wiki/MySQL/R40

and the code need be like this
Код:
function:Query_LoadFactionRanks(factionid)
{
	new str[128];

	new rows = cache_num_rows();

	for (new i = 0; i < rows; i++)
	{
		for (new j = 1; j < MAX_FACTION_RANKS; j++)
		{
			format(str, sizeof(str), "FactionRank%i", j);
			cache_get_value(i, str, FactionRanks[factionid][j], 60);
		}
	}
	return 1;
}
Reply


Messages In This Thread
MySQL r41 help! - by Tenka - 30.07.2018, 19:20
Re: MySQL r41 help! - by Kraeror - 30.07.2018, 22:06
Re: MySQL r41 help! - by Tenka - 31.07.2018, 05:32
Re: MySQL r41 help! - by Calisthenics - 31.07.2018, 08:10
Re: MySQL r41 help! - by Slawi - 31.07.2018, 12:55

Forum Jump:


Users browsing this thread: 1 Guest(s)