20.05.2018, 23:42
PHP код:
stock LoadClans()
{
new string[80], file[64], totalclans;
for(new c; c < MAX_CLANS; c ++)
{
format(file, sizeof(file), "Clans/%d.ini", c);
if(fexist(file))
{
INI_ParseFile(CrewPath(c), "LoadClanData", false, true, c, true, false);
printf("Loaded Clan: (%i) %s", c, CrewInfo[c][cName]);
totalclans++;
}
}
printf("\n %i clans loaded!", totalclans);
return 1;
}