Help me fix this please.
#10

Quote:
Originally Posted by Lars_Frederiksen
Посмотреть сообщение
Okay I got the "foreach.inc" and replaced the

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
     {
with

pawn Код:
foreach(Player, i)
{
It seems as if it works now, I'm gonna wait till we have more then 10 people on so we can see if their gonna get Payday
I don't know if foreach will fix it, but it could... I know the code I gave you above had a change in one of the loops, but other then that, I didn't see anything wrong. You should use foreach all over though, it's better!
Reply


Messages In This Thread
Help me fix this please. - by Lars_Frederiksen - 29.11.2010, 23:50
Re: Help me fix this please. - by Scenario - 30.11.2010, 01:03
Re: Help me fix this please. - by Steven82 - 30.11.2010, 01:15
Re: Help me fix this please. - by Lars_Frederiksen - 30.11.2010, 14:52
Re: Help me fix this please. - by Scenario - 30.11.2010, 14:58
Re: Help me fix this please. - by Lars_Frederiksen - 30.11.2010, 15:23
Re: Help me fix this please. - by Lars_Frederiksen - 30.11.2010, 15:29
Re: Help me fix this please. - by Scenario - 30.11.2010, 15:42
Re: Help me fix this please. - by Lars_Frederiksen - 30.11.2010, 15:54
Re: Help me fix this please. - by Scenario - 30.11.2010, 16:07

Forum Jump:


Users browsing this thread: 1 Guest(s)