better to replace?
#1

better to replace:
PHP код:
for(new 0MAX_PLAYERSi++) 
Reply
#2

Is your question: are there better alternatives to running a for loop to cycle through players? Yes.

foreach is a good replacement for this, providing you fully read the post so you can grasp a full understanding of how it works.
Reply
#3

Foreach is better.
Reply
#4

that is:
PHP код:
foreach(new Player
?
Reply
#5

Quote:
Originally Posted by Rhymed32
Посмотреть сообщение
that is:
PHP код:
foreach(new Player
?
Read the post and you will understand it.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)