11.04.2015, 17:29
Yes look at my example:
It's right 
For me it works i had tested it.
Mencent
PHP код:
if(dialogid == 5000)
{
if(response)
{
new count,i;
for(;i<MAX_DUELS;i++)
{
if(Duel[i][DuelExiste])
{
if(listitem == count)
{
//i = ID of the Duel
break;
}
count ++;
}
}
}
return 1;
}

For me it works i had tested it.
Mencent

