Why people using variables like that?
#3

pawn Код:
new array[3]; // <- In PAWN those are not initialized yet, so it keeps them zero

new array[3] = {1, 2, 3} // <- Initializes array with 1, 2, and 3

new array[3] = {3, ...} // <- Initializes the whole array with the value 3
Reply


Messages In This Thread
Why people using variables like that? - by Activest - 28.04.2013, 06:40
Re: Why people using variables like that? - by verlaj - 28.04.2013, 07:08
AW: Why people using variables like that? - by BigETI - 28.04.2013, 07:21

Forum Jump:


Users browsing this thread: 2 Guest(s)