Some questions
#3

Good, I hope I can give you good answers.

#1:
This won't change the performance, except the row number is different. The performance is the same.

#2:
continue will brings you nothing because continue; is going on to the next, for example:
PHP код:
for(new i;i<MAX_PLAYERS;i++)
{
    if(!
IsPlayerConnected(i))continue;
    print(
"playerid %i is online",i);

When ID 1 isn't online, the loop will go to ID 2 because the continue is going to the next one.

#3:
When you need the huge string, then you can use it. It takes some memory, but 1500 is well. If you use 6000 it will be bad.

#4:
The second way is good, because you have fewer rows then method 1.

__________________

Sorry, when I wrote in a bad english, but I try to help you.
Reply


Messages In This Thread
Some questions - by Sjn - 03.02.2016, 17:51
Re: Some questions - by TwinkiDaBoss - 03.02.2016, 17:58
Re: Some questions - by Mencent - 03.02.2016, 18:03
Re: Some questions - by SickAttack - 03.02.2016, 18:08
Re: Some questions - by Sjn - 03.02.2016, 18:15
Re: Some questions - by TwinkiDaBoss - 03.02.2016, 18:21
Re: Some questions - by Alcatrik - 03.02.2016, 18:23
Re: Some questions - by PrO.GameR - 03.02.2016, 21:33
Re: Some questions - by Sjn - 04.02.2016, 18:20

Forum Jump:


Users browsing this thread: 2 Guest(s)