Loop not working <.<
#1

Like, I have this loop, but I wan't to check if the player is in range of point of any "hot dog zone".
Even if he ain't, it doesn't say "You aren't near a hot dog stand" <.<
pawn Код:
for(new i, f = MAX_HOTDOGZONES; i < f; 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!");break;}
    }
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: 4 Guest(s)