Warning: PlayerDialogResponse !
#5

Ok ! im so sorry

try!
pawn Код:
//===================================================dialogid's==========================================
    if(dialogid == DIALOG_PRITVOROPENCELL)
    {
        new sendername[MAX_PLAYER_NAME], string[256];
        if(response == 1)
        {
            switch (listitem)
            {
                case 0:
                {
                    MoveDynamicObject(lspdcell1, 1491.50000000,-1595.59997559,30145.50000000,2.700000);
                    SendClientMessage(playerid, COLOR_LIGHTGREEN, "* You opened cell-1!");
                }
                case 1:
                {
                    MoveDynamicObject(lspdcell2, 1491.50000000,-1591.59997559,30145.50000000,2.700000);
                    SendClientMessage(playerid, COLOR_LIGHTGREEN, "* You opened cell-2!!");
                }
                case 2:
                {
                    MoveDynamicObject(lspdcell2, 1491.50000000,-1591.59997559,30145.50000000,2.700000);
                    MoveDynamicObject(lspdcell1, 1491.50000000,-1595.59997559,30145.50000000,2.700000);
                    SendClientMessage(playerid, COLOR_YELLOW, "You have opened all the cells.");
                    GetPlayerName(playerid, sendername, sizeof(sendername));
                    format(string, sizeof(string), "* %s took the remote and opened all the cells.", sendername);
                    ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                }
            }
        }

    }
    if(dialogid == DIALOG_PRITVORCLOSECELL)
    {
        new sendername[MAX_PLAYER_NAME], string[256];
        if(response == 1)
        {
            switch (listitem)
            {
                case 0:
                {
                    MoveDynamicObject(lspdcell1, 1491.59997559,-1593.90002441,30145.50000000,3.000000);
                    SendClientMessage(playerid, COLOR_LIGHTGREEN, "* You closed the cell-1!");
                }
                case 1:
                {
                    MoveDynamicObject(lspdcell2, 1491.50000000,-1589.90002441,30145.50000000,3.000000);
                    SendClientMessage(playerid, COLOR_LIGHTGREEN, "* You closed the cell-2!");
                }
                case 2:
                {
                    MoveDynamicObject(lspdcell1, 1491.59997559,-1593.90002441,30145.50000000,3.000000);
                    MoveDynamicObject(lspdcell2, 1491.50000000,-1589.90002441,30145.50000000,3.000000);
                    SendClientMessage(playerid, COLOR_YELLOW, "You have closed all the cells.");
                    GetPlayerName(playerid, sendername, sizeof(sendername));
                    format(string, sizeof(string), "* %s jtook the remote and shut all cells.", sendername);
                    ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                }
            }
        }
    }
//===========================================================end dialogid's=========================================
    return 0;
}
Reply


Messages In This Thread
Warning: PlayerDialogResponse ! - by morocco - 17.07.2013, 03:39
Re: Warning: PlayerDialogResponse ! - by Scenario - 17.07.2013, 03:41
Re : Re: Warning: PlayerDialogResponse ! - by morocco - 17.07.2013, 03:46
Re: Re : Re: Warning: PlayerDialogResponse ! - by Scenario - 17.07.2013, 03:47
Re : Warning: PlayerDialogResponse ! - by morocco - 17.07.2013, 03:55
AW: Warning: PlayerDialogResponse ! - by BigETI - 17.07.2013, 04:28
Re: Warning: PlayerDialogResponse ! - by morocco - 17.07.2013, 04:48
Re: AW: Warning: PlayerDialogResponse ! - by morocco - 17.07.2013, 04:50

Forum Jump:


Users browsing this thread: 1 Guest(s)