Loop not working <.<
#6

Quote:
Originally Posted by wumpyc
Посмотреть сообщение
pawn Код:
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;}
"playerid" should be "i"
Wait, what?! >.> i = hot dog zones. so, if we put i instead of playerid, we will be checking if the hot dog zones are near any hot dog zones...
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: 1 Guest(s)