Foreach return problem
#6

Quote:
Originally Posted by DusanInfinity
Посмотреть сообщение
I need that return..



Crashdetect - i test this on online linux server...(Crashdetect only on home server)
You can use a conutine.

Код:
forward Plata();
public Plata()
{
new payday[830];
foreach(Player, i)
    {
    if(gPlayerLogged[i] == 1)
      {
		if(PlayerInfo[i][pPayDay] < 5)
                {
                  SCM(i, -1, "*Niste igrali dovoljno dugo da bi dobili platu.");
                  conutine;
                }
                SCM(i, -1, "You get money!");
code code code...
      }
   }
return true;
}
Reply


Messages In This Thread
Foreach return problem - by DusanInfinity - 03.02.2016, 11:14
Re: Foreach return problem - by Sew_Sumi - 03.02.2016, 11:30
Re: Foreach return problem - by ball - 03.02.2016, 11:39
Re: Foreach return problem - by povargek - 03.02.2016, 11:40
Re: Foreach return problem - by DusanInfinity - 03.02.2016, 11:47
Re: Foreach return problem - by povargek - 03.02.2016, 11:52
Re: Foreach return problem - by Sew_Sumi - 03.02.2016, 11:57
Re: Foreach return problem - by DusanInfinity - 03.02.2016, 12:03
Re: Foreach return problem - by Sew_Sumi - 03.02.2016, 12:08
Re: Foreach return problem - by DusanInfinity - 03.02.2016, 12:19

Forum Jump:


Users browsing this thread: 4 Guest(s)