#7

Quote:
Originally Posted by Grim_
Посмотреть сообщение
Are you the only player on the server? If so, it's obviously going to stop after the first loop. Foreach only loops through the connected player IDs.

The problem persists because this line is true, making the loop to continue (which, in this case, it's at the end)
pawn Код:
if(PlayerInfo[playerid][Class] == 10 || PlayerInfo[playerid][Class] == 11 || PlayerInfo[playerid][Class] == 12)
i didn't post everything what i had under the loop, i have many more functions under the loop including the function what i showed you, i just posted needed code.
Reply


Messages In This Thread
loop - by armyoftwo - 01.01.2011, 13:48
Re: loop - by Grim_ - 01.01.2011, 13:49
Re: loop - by armyoftwo - 01.01.2011, 13:49
Re: loop - by Grim_ - 01.01.2011, 13:51
Re: loop - by armyoftwo - 01.01.2011, 13:53
Re: loop - by Grim_ - 01.01.2011, 13:58
Re: loop - by armyoftwo - 01.01.2011, 14:01
Re: loop - by Grim_ - 01.01.2011, 14:03
Re: loop - by armyoftwo - 01.01.2011, 14:10

Forum Jump:


Users browsing this thread: 1 Guest(s)