I have this code to add a const array to defined array but it shows that dimensions don't match
PHP Code:
new const ZOMBIE_PAIN[ ][ ] = { "s/zombie/pain.wav" }
new Array:z_b_pain;
new index;
for( index = 0; index < sizeof zombie_classes_count; index++ ) {
if( !ArrayGetCell( z_b_pain, index ) )
ArraySetArray( z_b_pain, index, ZOMBIE_PAIN, ArraySize( ZOMBIE_PAIN ) );
}
In natives:
z_b_pain = ArrayCreate( 1, 1 );