29.08.2016, 23:46
Hi there. Does anyone happen to know if you can use "break" to stop a foreach loop?
I don't currently have a way to test this with another player. Thank you.
pawn Код:
foreach(new playerid : Player)
{
if(playerid >= 5)
{
break; // for example?
}
}