23.06.2018, 08:04
I guess that only 1 dialog is gonna work, as you're making it like..
I guess only the first dialog is gonna work.. u must use (else if)..
or just use
etc..
PHP код:
if(dialogid == DIALOG_SHOP)
{
}
if(dialogid == DIALOG_SHOP_STUFF)
{
}
if(dialogid == blah blah)
{
}
or just use
PHP код:
switch(dialogid)
{
case DIALOG_SHOP:
{
}
}