[HELP]What is wrong?
#1

What is wrong with this?
the dialog:
pawn Код:
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Job List","Kidnapper\nCar Jacker\nDrugs Dealer","Ok","Cancel");
the OnDialogResponse:
pawn Код:
if(dialogid == 1)
      {
        if(!response){SendClientMessage(playerid, COLOR_RED, "You canceled! typ /chosejob for chose your job another time");
        new message[196];
        format(message,sizeof(message), "Your job is now %s", inputtext);
        SendClientMessage(playerid, COLOR_BLUE, message);
        if(listitem == 1)
        {
                    PlayerInfo[playerid][pJob] = 3;
                }
                if(listitem == 2)
                {
                  PlayerInfo[playerid][pJob] = 4;
                }
                if(listitem == 3)
                {
                  PlayerInfo[playerid][pJob] = 5;
                }
            }
Reply


Messages In This Thread
[HELP]What is wrong? - by breakpaper - 20.12.2009, 13:47
Re: [HELP]What is wrong? - by Martin_M - 20.12.2009, 13:50

Forum Jump:


Users browsing this thread: 1 Guest(s)