Deo skripte:
for(new i = 0; i < MAX_ORGS; i++)
{
new ofile;
format(ofile, sizeof(ofile), OPATH, i);
if(fexist(ofile))
{
INI_ParseFile(ofile, "LoadOrgs", .bExtra = true, .extra = i);
new ostr;
format(ostr, sizeof(ostr), "{FF0000}Organizacija : {FFFFFF}%s\n{FF0000}Lider : {FFFFFF}%s", OI, OI);
oLabel = Create3DTextLabel(ostr, -1, OI, OI, OI, 20.0, 1, 0);
oPickUp = CreatePickup(1314, 1, OI,OI,OI, 1);
oSPU = CreatePickup(1239, 1, OI,OI,OI, 1);
oSL = Create3DTextLabel("{FF0000}Sef Organizacije\n{FFFFFF}/orgsef", -1, OI,OI,OI, 20.0, 1, 0);
printf("Org Labeli ucitani");
obroj++;
}
}
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
//