Help for the errors .. :@
#3

try this:

pawn Код:
case D_HELP:
{
    if(response)
    {
        if(listitem == 0)
        {
            ShowDialogHelp(playerid, INFO);//wait
        }
        else if(listitem == 1)
        {
            ShowDialogHelp(playerid, RULES);
        }
        else if(listitem == 2)
        {
            ShowDialogHelp(playerid, COMMANDS);
        }
        else if(listitem == 3)
        {
            ShowDialogHelp(playerid, FACTIONN);
        }
    }
}
case D_INFO:
{
    if(response)
    {
        ShowDialogHelp(playerid, RULES);//This is easy for you :D, Yeah, but please wait.
    }
    else return ShowPlayerDialog(playerid, D_HELP, DIALOG_STYLE_LIST, "Помощ относно сървъра", "Информация за командите в сървъра", "Select", "Cancel");
}
case D_RULES:
{
    if(response)
    {
        ShowDialogHelp(playerid, COMMANDS);
    }
    else return ShowPlayerDialog(playerid, D_HELP, DIALOG_STYLE_LIST, "Помощ относно сървъра", "Информация за командите в сървъра", "Select", "Cancel");
}
case D_COMMANDS:
{
    if(response)
    {
        ShowDialogHelp(playerid, COMMANDS);
    }
    else return ShowPlayerDialog(playerid, D_HELP, DIALOG_STYLE_LIST, "Помощ относно сървъра", "Информация за командите в сървъра", "Select", "Cancel");
}
case FACTIONN:
{
    if(response)
    {
        ShowDialogHelp(playerid, FACTIONN);
    }
    else return ShowPlayerDialog(playerid, D_HELP, DIALOG_STYLE_LIST, "Помощ относно сървъра", "Информация за командите в сървъра", "Select", "Cancel");
}
im not sure if it works, but try UNTESTED!
Reply


Messages In This Thread
Help for the errors .. :@ - by Ruffian - 04.09.2012, 16:48
Re: Help for the errors .. :@ - by Ruffian - 04.09.2012, 18:17
Re: Help for the errors .. :@ - by niels44 - 04.09.2012, 18:50
Re: Help for the errors .. :@ - by ThePhenix - 04.09.2012, 19:07
Re: Help for the errors .. :@ - by Ruffian - 04.09.2012, 19:53

Forum Jump:


Users browsing this thread: 1 Guest(s)