return after foreach.
#1

Hi,

can i do return after foreach?

ex:

Код:
if(GetPlayerScore(playerid) == 100 )
{
      foreach(i : Player)
      {

      }
      return 1;
}
Reply
#2

why do you want to return?
Reply
#3

Yes but its not needed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)