few dialogs are not working.
#1

while dialogs such as login/purchase weapon etc works, few of em are not responding.

pawn Код:
#define DIALOG_REGISTER 50
#define DIALOG_LOGIN 51
#define DIALOG_SUCCESS_1 52
#define DIALOG_SUCCESS_2 53
#define DIALOG_TEAM 54
#define DIALOG_TEAM1 544
#define DIALOG_PICKUP 55
#define DIALOG_WEAPON 56
#define DIALOG_AMMU 57
#define DIALOG_AMMU1 58
#define DIALOG_AMMU2 59
#define DIALOG_AMMU3 60
#define DIALOG_AMMU4 61
#define DIALOG_AMMU5 62
#define DIALOG_MISION1 6333
#define DIALOG_MIS2 63444
#define DIALOG_MISS3 68555
#define DIALOG_CLASS 66
#define DIALOG_CLASS1 666
#define DIALOG_MISI4 66777
#define DIALOG_MISIO5 658878
#define DIALOG_RCON 93512

//mission stuff pickup
new mission1;
new mission2;
new mission3;
new mission4;
new mission5;

//under gamemodeinit
mission1 = CreatePickup(1239, 2,-344.3602,1543.2966,75.5625, -1);
    mission2 = CreatePickup(1239, 2,1074.9996,1024.0043,10.1505, -1);
    mission3 = CreatePickup(1239, 2,1489.5618,1232.1563,10.8203, -1);
    mission4 = CreatePickup(1239, 2,213.2987,1822.7225,6.4141, -1);
    mission5 = CreatePickup(1239, 2,413.9706,2536.8633,19.1484, -1);


//onplayerpickupickup
//it shows the dialog but only mission1 responds, rest are not working
//mission1
ShowPlayerDialog(playerid, DIALOG_MISION1 //works so far
//mission2
ShowPlayerDialog(playerid, DIALOG_MIS2
//mission3
ShowPlayerDialog(playerid, DIALOG_MISS3
//mission4
ShowPlayerDialog(playerid, DIALOG_MISI4
//mission5
ShowPlayerDialog(playerid, DIALOG_MISIO5,

//ondialogrespones
if(dialogid == DIALOG_MISION1)
       {
        //responses if i press yes or no (with message)

if(dialogid == DIALOG_MISI4)
            {//does not reponse
if ( !response ) return SendClientMessage(playerid,COLOR_WHITE,"You've cancled");
            if( response )
            {

if(dialogid == DIALOG_MISIO5)
            {//and so on.
Reply


Messages In This Thread
few dialogs are not working. - by verlaj - 07.06.2014, 09:42
Re: few dialogs are not working. - by TheSimpleGuy - 07.06.2014, 09:45
Re: few dialogs are not working. - by verlaj - 07.06.2014, 09:49
Re: few dialogs are not working. - by [D]ry[D]esert - 07.06.2014, 09:59
Re: few dialogs are not working. - by verlaj - 07.06.2014, 10:10
Re: few dialogs are not working. - by Konstantinos - 07.06.2014, 10:13
Re : Re: few dialogs are not working. - by Lacamora - 07.06.2014, 10:14
Re: few dialogs are not working. - by verlaj - 07.06.2014, 10:15
Re: few dialogs are not working. - by [D]ry[D]esert - 07.06.2014, 11:45

Forum Jump:


Users browsing this thread: 1 Guest(s)