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...