[Tutorial] Simple Lottery System [ZCMD | SSCANF]
#9

Using 256 cells for a string that only requires 128, 3 damned times.


pawn Code:
foreach(Player, i) LottoNumber[i] = 0; // Setting every player's online lottery number to 0
    LottoNum = 0; // Setting the Lottery Winning Number to 0
    LottoPrize = 0;
Why are you setting all of these variables outside of the loop?

Just an observation
Reply


Messages In This Thread
Simple Lottery System [ZCMD | SSCANF] - by L.Hudson - 05.04.2013, 20:38
Re: Simple Lottery System [ZCMD | SSCANF] - by ervinmasic - 05.04.2013, 21:31
Re: Simple Lottery System [ZCMD | SSCANF] - by L.Hudson - 05.04.2013, 21:33
Re: Simple Lottery System [ZCMD | SSCANF] - by rakshith122 - 27.02.2014, 12:16
Re: Simple Lottery System [ZCMD | SSCANF] - by danish007 - 19.04.2014, 15:28
Re: Simple Lottery System [ZCMD | SSCANF] - by Somalez - 23.11.2014, 19:18
AW: Simple Lottery System [ZCMD | SSCANF] - by Flori - 23.11.2014, 20:38
Re: Simple Lottery System [ZCMD | SSCANF] - by LeXuZ - 23.11.2014, 21:25
Re: Simple Lottery System [ZCMD | SSCANF] - by sammp - 25.11.2014, 22:16
Re: Simple Lottery System [ZCMD | SSCANF] - by AndySedeyn - 02.01.2015, 22:37

Forum Jump:


Users browsing this thread: 2 Guest(s)