Dialogs not working
#1

I left the script working and got back to it now a year later and none of the dialogs are working?
I'm using the easydialog include.

Includes in the script:
pawn Код:
#include <a_samp>
#include <a_mysql>
#include <formatnumber>
#include <easydialog>
#include <sscanf2>
#include <streamer>
#include <zcmd>
OnPlayerSpawn:
pawn Код:
Dialog_Show(playerid, Show:SKILL, DIALOG_STYLE_LIST, "Select Skill", "Con Artist\nRapist\nHitman\nPrivate Medic\nArms Dealer\nKidnapper", "Cancel","Cancel");
Bottom of Script:
pawn Код:
Dialog:SKILL(playerid, response, listitem, inputtext[])
{
    if(response)
    {
        switch(listitem)
        {
            case 0:
                        {
                                SendClientMessage(playerid, -1,"Con artist");
                        }
            case 1:
            {
                SendClientMessage(playerid, -1,"Rapist");
            }
            case 2:
            {
                SendClientMessage(playerid, -1,"Hitman");
            }
            case 3:
                        {
                                SendClientMessage(playerid, -1,"Private Medic");
                        }
            case 4:
            {
                SendClientMessage(playerid, -1,"Arms Dealer");
            }
            case 5:
            {
                SendClientMessage(playerid, -1,"Kidnapper");
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
Dialogs not working - by Markus1337 - 10.01.2015, 13:57
Re: Dialogs not working - by lwilson - 10.01.2015, 14:02
Re: Dialogs not working - by Markus1337 - 10.01.2015, 14:12
Re: Dialogs not working - by lwilson - 10.01.2015, 14:14
Re: Dialogs not working - by lwilson - 10.01.2015, 14:17
Re: Dialogs not working - by Markus1337 - 10.01.2015, 14:19

Forum Jump:


Users browsing this thread: 3 Guest(s)