timer for multiple players
#10

Quote:
Originally Posted by GGW
Посмотреть сообщение
Quote:
Originally Posted by tommzy09
Посмотреть сообщение
pawn Код:
for(new i; i < MAX_PLAYERS; i++)
there is a problem in your loop

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
The default value of a cell is 0, therefore there is no problem in the loop. Though this way it is more obvious what the initial value is, this is code style related and has nothing to do with the logic.
Reply


Messages In This Thread
timer for multiple players - by tommzy09 - 12.08.2014, 14:12
Re: timer for multiple players - by Vince - 12.08.2014, 14:41
Re: timer for multiple players - by GGW - 12.08.2014, 14:45
Re: timer for multiple players - by tommzy09 - 12.08.2014, 14:58
Re: timer for multiple players - by GGW - 12.08.2014, 15:02
Re: timer for multiple players - by Stinged - 12.08.2014, 15:04
Re: timer for multiple players - by GGW - 12.08.2014, 15:08
Re: timer for multiple players - by tommzy09 - 12.08.2014, 15:22
Re: timer for multiple players - by Stinged - 12.08.2014, 15:31
Re: timer for multiple players - by ikkentim - 13.08.2014, 18:36

Forum Jump:


Users browsing this thread: 2 Guest(s)