SA-MP Forums Archive
doesnt loads the zones - 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: doesnt loads the zones (/showthread.php?tid=504623)



doesnt loads the zones - RyanPetersons - 05.04.2014

pawn Код:
stock LoadZones10()
{
new file[256];
for(new p = 0;p<MAX_PLAYERS; p++)
{
for(new i = 0;i<OrgsCount+1; i++)
{
format(file,sizeof(file),"OrgZone10%d.txt",Organization[i][ORGID]);
if(dini_Exists(file))
{
Organization[i][Zonez10] = GangZoneCreate(dini_Float(file,"Minx"),dini_Float(file,"Miny"),dini_Float(file,"Maxx"),dini_Float(file,"Maxy"));
GangZoneShowForAll(Organization[i][Zonez10],Organization[i][Color]);
}
}
}
return 1;
}
Don't know why the gangzone doesnt loads. too much confused. no errors no warnigns but help me to tell that what should i do in this code so it should load the zoones