Loop not working <.<
#7

Maybe?
pawn Код:
for(new i;i <MAX_HOTDOGZONES;i++)
{
    if(!IsPlayerInRangeOfPoint(playerid,5.0,HotDogPlace[i][0],HotDogPlace[i][1],HotDogPlace[i][2])) count++;
    else break;
}
if(count == MAX_HOTDOGZONES) SendClientMessage(playerid, Red, "« Error »"lyellow"You aren't near a hotdog stand!");
Reply


Messages In This Thread
Loop not working <.< - by FireCat - 30.11.2011, 14:10
Re: Loop not working <.< - by FireCat - 30.11.2011, 14:26
Re: Loop not working <.< - by wumpyc - 30.11.2011, 14:34
Re: Loop not working <.< - by ElkaBlazer - 30.11.2011, 15:52
Re: Loop not working <.< - by Finn - 30.11.2011, 15:58
Re: Loop not working <.< - by [MWR]Blood - 30.11.2011, 16:02
Re: Loop not working <.< - by [MG]Dimi - 30.11.2011, 16:06
Re: Loop not working <.< - by FireCat - 30.11.2011, 16:20

Forum Jump:


Users browsing this thread: 3 Guest(s)