Dio skripte: evo sta sam ubacio na vrhu OnGameModeInit
print("Testiranje compile moda!");
//--------------timer---------------------
SetTimer("ZonaTimer", 30000, true);
//----------------------------------------
for(new b = 0; b < sizeof(GZ); b++)
{
new gFile;
format(gFile, 50, "Teritorije/Teritorija_%d.ini" ,b);
if(fexist(gFile))
{
INI_ParseFile(gFile, "UcitajZonu", .bExtra = true, .extra = b);
if(GZ != 0)
{
ZonaID = GangZoneCreate(GZ, GZ, GZ, GZ);
new string;
new status;
if(GZ == 1) { status = "Gambino Family"; }
else if(GZ == 2) { status = "Black Dragon Triads"; }
else if(GZ == 3) { status = "Crips"; }
else if(GZ == 4) { status = "Bloods"; }
else if(GZ == 5) { status = "Cartel de Sinaloa"; }
format(string,sizeof(string),"{19B0E3}[ {FFFFFF}TERITORIJA {19B0E3}]\nTeritorija je u vlasnistvu {FFFFFF}%s\n{19B0E3}Ako zelis da je zauzmes kucaj {FFFFFF}/zauzmi\n{19B0E3}Zona: "BELA"%d",status, b);
ZonaLabel = CreateDynamic3DTextLabel(string ,0x33CCFFAA,GZ, GZ, GZ,15);
ZonaPickup = CreateDynamicPickup(1254, 1, GZ, GZ, GZ);
printf(" Y_INI | Zona %d ucitana",b);
}
}
}Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
Slika/video ingame problema(obavezno ako je ingame problem): https://ibb.co/4sDKKJ7
