25.03.2016, 20:21
Sorry, it should be like this:
PHP код:
case DIALOG_MENUSERVER:
{
if(response)
{
IDL = listitem;
if(ConfigVal(IDL) == "0" || ConfigVal(IDL) == "1")
{
new params[1];
cmd_configmenu(playerid,params);
}
else
{
ShowPlayerDialog(playerid,DIALOG_VALORCONFIG,DIALOG_STYLE_INPUT,"Config","Insert new value:","Accept","Exit");
}
}
}
case DIALOG_VALORCONFIG:
{
if(response)
{
ServidorInfo[IDL] = strval(inputtext);
}
}

