Not work this load public..
#1

Hi all.\\

This code not working, not loading clans, in r39-6 not working, in R40 working.


Quote:

public LoadClans()
{
clanss = cache_num_rows();
for(new i = 1; i <= clanss; i++)
{
new x = i - 1;
ClanInfo[i][clID] = cache_get_field_content_int(x, "ID");
ClanInfo[i][clSlots] = cache_get_field_content_int(x, "Slots");
cache_get_field_content(x, "Leader", ClanInfo[i][clLeader], 130);
cache_get_field_content(x, "Color", ClanInfo[i][clColor], 130);
cache_get_field_content(x, "News", ClanInfo[i][clNews], 130);
cache_get_field_content(x, "Tag", ClanInfo[i][clTag], 130);
cache_get_field_content(x, "RankName7", ClanInfo[i][clRName7], 130);
cache_get_field_content(x, "RankName6", ClanInfo[i][clRName6], 130);
cache_get_field_content(x, "RankName5", ClanInfo[i][clRName5], 130);
cache_get_field_content(x, "RankName4", ClanInfo[i][clRName4], 130);
cache_get_field_content(x, "RankName3", ClanInfo[i][clRName3], 130);
cache_get_field_content(x, "RankName2", ClanInfo[i][clRName2], 130);
cache_get_field_content(x, "RankName1", ClanInfo[i][clRName1], 130);
}
printf("Clans: %d", clanss);
}

Reply
#2

solved!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)