x1250x / Publications
Forum
Newbie question about persistent data for arrays in between ticks
Hello, I am trying to create persistent set of data for an array, as a test, but it doesn't work. This is the code: void OnTick (){ int multi[][ 3 ]; if ( ArraySize (multi) == 0 ) { Print ( "Array size = 0" ); ArrayResize (multi, 3 ); multi[ 0 ][ 0 ] = 1 ; multi[ 0 ][ 1 ] = 2 ;