Maybe?
stock
bool:valstr_ex(tomb[], valtozo)
{
new
temp[12];
format(temp, sizeof temp, \"%c\", valtozo);
return (strfind(tomb, temp, false) != -1);
}
new tomb[10] = {5, 1, 9, 10, 25};
new valtozo = 26;
if(valstr_ex(tomb, valtozo))
printf(\"Benne van!\");