How is it right?
#1

How is that right? Option 1 or Option 2?

Option 1:
Код HTML:
foreach(new i: Player)
{
    pInfo[i][pScore] += 1; VPUpdate(i, pScoreu);
    SetPlayerScore(i, pInfo[playerid][pScore]);
}
Option 2:
Код HTML:
for(new i = 0; i <= GetPlayerPoolSize(); i++)
{
    pInfo[i][pScore] += 1; VPUpdate(i, pScoreu);
    SetPlayerScore(i, pInfo[playerid][pScore]);
}
Reply


Messages In This Thread
How is it right? - by norton2 - 18.10.2015, 09:22
Re: How is it right? - by PrO.GameR - 18.10.2015, 10:15
Re: How is it right? - by AndySedeyn - 18.10.2015, 10:20

Forum Jump:


Users browsing this thread: 1 Guest(s)