I already fixed everything, thanks anyways, here's the full solution:
Code:
public Function( )
{
if( containi_all( eRanks[ Rank_Flags ], charsmax( eRanks[ Rank_Flags ] ), szFlags, charsmax( szFlags ) ) )
{
j = i;
}
}
public containi_all( szStringSrc[ ], iSize1, szStringCompare[ ], iSize2 )
{
new bool:bEqual;
for( new i; i < iSize1; i++ )
{
for( new j; j < iSize2; j++ )
{
if( szStringSrc[ i ] == szStringCompare[ j ] )
{
bEqual = true;
break;
}
else
{
bEqual = false;
}
}
if( ! bEqual )
break;
}
return bEqual;
}
__________________