Only the first GangZone gets shown
#2

you're stopping the loop after it's only shown 1 zone
Код:
for(new i = 0; i < sizeof(TurfInfo); i++)
	{
		//GangZoneShowForPlayer(playerid, TurfInfo[i][zID], TurfInfo[i][zColor]);
		GangZoneShowForAll(TurfInfo[i][zID], TurfInfo[i][zColor]);
		return 1;
	}
just remove the return 1; and put it underneath

Код:
for(new i = 0; i < sizeof(TurfInfo); i++)
	{
		//GangZoneShowForPlayer(playerid, TurfInfo[i][zID], TurfInfo[i][zColor]);
		GangZoneShowForAll(TurfInfo[i][zID], TurfInfo[i][zColor]);
		
	}
return 1;
Reply


Messages In This Thread
Only the first GangZone gets shown - by Virtual1ty - 04.04.2010, 14:21
Re: Only the first GangZone gets shown - by Beaver07 - 04.04.2010, 15:23
Re: Only the first GangZone gets shown - by Virtual1ty - 04.04.2010, 15:39

Forum Jump:


Users browsing this thread: 1 Guest(s)