14.05.2014, 10:16
Hello everybody. I spotted new bug. But I don`t see any problem. This codes are for ordering one zone for spawn random zone.
Debug stucks at number 2.. please help me.
pawn Код:
printf("0");
for(new i = 1; i < 5; i++)
{
new RandomZone;
printf("1");
GenerateRandomZone:
printf("2");
RandomZone = random(sizeof(GangZones));
printf("3");
if(GangZones[RandomZone][OwnerTeam] != 0)
goto GenerateRandomZone;
printf("4");
GangZones[RandomZone][OwnerTeam] = i;
printf("5");
}