SA-MP Forums Archive
Not work this load public.. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Not work this load public.. (/showthread.php?tid=627696)



Not work this load public.. - Belengher - 31.01.2017

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);
}




Re: Not work this load public.. - Belengher - 31.01.2017

solved!!