27.11.2014, 13:08
Код:
stock GetUnusedHouse()
{
new hf[64];
for(new nh; nh < sizeof(House); nh++)
{
format(hf,sizeof(hf),"Casa%d.txt",nh);
if(dini_Exists(hf)) continue;
return nh;
}
return 1;
}
Код:
for(new i; i < sizeof(House); i++)
{
UpdateHouse(i);
}

