Loop problem
#5

Remove 'return 0;'

Here is what is happening.
  • Loop starts at zero.
  • ID 0 is admin, and the code continues to the clientmessage code.
  • The clientmessage code is run, and the loop stops running because returning a value instantly stops a block of code.
Reply


Messages In This Thread
Loop problem - by DBan - 08.07.2012, 10:35
Re: Loop problem - by clarencecuzz - 08.07.2012, 10:45
Re: Loop problem - by DBan - 08.07.2012, 10:58
Re: Loop problem - by Slappybay - 08.07.2012, 11:02
Re: Loop problem - by ReneG - 08.07.2012, 11:05
Re: Loop problem - by DBan - 08.07.2012, 11:09
Re: Loop problem - by clarencecuzz - 08.07.2012, 11:09
Re: Loop problem - by Vince - 08.07.2012, 11:09
Re: Loop problem - by ReneG - 08.07.2012, 11:11
Re: Loop problem - by DBan - 08.07.2012, 11:16

Forum Jump:


Users browsing this thread: 1 Guest(s)