27.07.2016, 15:25
Hi,
Can anyone help me out please? I got these parameters as the turf's coordinates:
Gangzones[id][minX], Gangzones[id][minY], Gangzones[id][maxX], Gangzones[qid[maxY]
and I got these parameters as the business's x,y,z:
BusinessInfo[id][bX], BusinessInfo[id][bY], BusinessInfo[id][bZ]
How can I make a function that loops through all the gangzones and will return the ID of the gangzone ?
Danke
Can anyone help me out please? I got these parameters as the turf's coordinates:
Gangzones[id][minX], Gangzones[id][minY], Gangzones[id][maxX], Gangzones[qid[maxY]
and I got these parameters as the business's x,y,z:
BusinessInfo[id][bX], BusinessInfo[id][bY], BusinessInfo[id][bZ]
How can I make a function that loops through all the gangzones and will return the ID of the gangzone ?
Код:
stock GetBizTurf(biz) { for(new x; x<MAX_GANGZONES; x++) { .... } }