I need help with dialogs
#1

So, me and my friend made two filtescripts, we both used dialogs, but 2 filterscipts loaded at once makes dialogs not working. So we decided to combine script in one. However, now the bug appears when I use /FBICAMS dialog ID 30 loads up, and it works fine, but when I click Outside cams, inside cams or borders, it switches to one of his cams.

Here is a bit of his code for cams
pawn Код:
if(!strcmp(cmdtext, "/armycam", true))
    {
        if(IsPlayerConnected(playerid))
        {
            if((IsPlayerInRangeOfPoint(playerid, 5.0,213.3826,1822.7753,6.4141) || IsPlayerInRangeOfPoint(playerid, 5.0,211.6498,1812.2715,21.8594)) && PlayerInfo[playerid][pCamOn] == 0)
            {
                ShowPlayerDialog(playerid, 2, DIALOG_STYLE_PASSWORD,  "Army Camera Acces:", "Enter Code Here:","Enter","Cancel");
            }
            else if(PlayerInfo[playerid][pCamOn] == 1)
            {
                ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Army Base Camera","Camera 1\n Camera 2\n Camera 3 \n Camera 4 \n Camera 5 \n Camera 6 \n Camera 7 \n Camera 8 \n Camera 9 \n Camera 10 \n Camera 11 \n Camera 12 \n Turn OFF","Continue","Cancle");
            }
        }
        return 1;
    }
And here is his dialog
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    {
        if(dialogid == 1)
        {
            if(response)
            {
                if(listitem == 0)
                {
                    SetPlayerCameraPos(playerid, 266.8680,1853.2881,12.7578);
                    SetPlayerCameraLookAt(playerid, 276.7950,1863.3218,8.7578);
                    SendClientMessage(playerid, COLOR_CHAT, "/armycam again to turnoff/change camera.");
                    PlayerInfo[playerid][pCamOn] = 1;
                }
                else if(listitem == 1)
                {
                    SetPlayerCameraPos(playerid, 299.0263,1816.7081,10.3467);
                    SetPlayerCameraLookAt(playerid, 260.5831,1816.6047,4.7109);
                    SendClientMessage(playerid, COLOR_CHAT, "/armycam again to turnoff/change camera.");
                    PlayerInfo[playerid][pCamOn] = 1;
                }
                else if(listitem == 2)
                {
                    SetPlayerCameraPos(playerid, 248.7181,1842.7448,14.4337);
                    SetPlayerCameraLookAt(playerid, 254.0605,1855.5741,8.7578);
                    SendClientMessage(playerid, COLOR_CHAT, "/armycam again to turnoff/change camera.");
                    PlayerInfo[playerid][pCamOn] = 1;
                }
                else if(listitem == 3)
                {
                    SetPlayerCameraPos(playerid, 256.8647,1848.3792,9.7578);
                    SetPlayerCameraLookAt(playerid, 269.9068,1840.0408,6.6411);
                    SendClientMessage(playerid, COLOR_CHAT, "/armycam again to turnoff/change camera.");
                    PlayerInfo[playerid][pCamOn] = 1;
                }
                else if(listitem == 4)
                {
                    SetPlayerCameraPos(playerid, 214.5663,1851.3955,14.9375);
                    SetPlayerCameraLookAt(playerid, 214.4745,1875.5630,13.1470);
                    SendClientMessage(playerid, COLOR_CHAT, "/armycam again to turnoff/change camera.");
                    PlayerInfo[playerid][pCamOn] = 1;
                }
                else if(listitem == 5)
                {
                    SetPlayerCameraPos(playerid, 160.7828,1940.2150,35.1256);
                    SetPlayerCameraLookAt(playerid, 136.5837,1952.4501,19.4079);
                    SendClientMessage(playerid, COLOR_CHAT, "/armycam again to turnoff/change camera.");
                    PlayerInfo[playerid][pCamOn] = 1;
                }
                else if(listitem == 6)
                {
                    SetPlayerCameraPos(playerid, 163.3440,1931.7267,34.8984);
                    SetPlayerCameraLookAt(playerid, 213.1403,1893.3687,15.9183);
                    SendClientMessage(playerid, COLOR_CHAT, "/armycam again to turnoff/change camera.");
                    PlayerInfo[playerid][pCamOn] = 1;
                }
                else if(listitem == 7)
                {
                    SetPlayerCameraPos(playerid, 232.5349,1936.1763,34.8984);
                    SetPlayerCameraLookAt(playerid, 224.2507,1990.2334,17.6406);
                    SendClientMessage(playerid, COLOR_CHAT, "/armycam again to turnoff/change camera.");
                    PlayerInfo[playerid][pCamOn] = 1;
                }
                else if(listitem == 8)
                {
                    SetPlayerCameraPos(playerid, 268.4260,1896.2313,34.8984);
                    SetPlayerCameraLookAt(playerid, 339.6696,1944.1016,17.6406);
                    SendClientMessage(playerid, COLOR_CHAT, "/armycam again to turnoff/change camera.");
                    PlayerInfo[playerid][pCamOn] = 1;
                }
                else if(listitem == 9)
                {
                    SetPlayerCameraPos(playerid, 264.3676,1809.3737,34.9771);
                    SetPlayerCameraLookAt(playerid, 281.5394,1819.3345,17.6406);
                    SendClientMessage(playerid, COLOR_CHAT, "/armycam again to turnoff/change camera.");
                    PlayerInfo[playerid][pCamOn] = 1;
                }
                else if(listitem == 10)
                {
                    SetPlayerCameraPos(playerid, 117.6566,1811.9823,48.0592);
                    SetPlayerCameraLookAt(playerid, 198.7096,1810.0095,18.8579);
                    SendClientMessage(playerid, COLOR_CHAT, "/armycam again to turnoff/change camera.");
                    PlayerInfo[playerid][pCamOn] = 1;
                }
                else if(listitem == 11)
                {
                    SetPlayerCameraPos(playerid, 106.6796,1902.7579,47.4932);
                    SetPlayerCameraLookAt(playerid, 135.4559,1940.0137,19.3028);
                    SendClientMessage(playerid, COLOR_CHAT, "/armycam again to turnoff/change camera.");
                    PlayerInfo[playerid][pCamOn] = 1;
                }
                else if(listitem == 12)
                {
                    if(PlayerInfo[playerid][pCamOn] == 1)
                    {
                        SetCameraBehindPlayer(playerid);
                        PlayerInfo[playerid][pCamOn] = 0;
                    }
                    else
                    {
                        SendClientMessage(playerid, COLOR_CHAT, "Your Camere is OFF allready.");
                        ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Army Base Camera","Camera 1\n Camera 2\n Camera 3 \n Camera 4 \n Camera 5 \n Camera 6 \n Camera 7 \n Camera 8 \n Camera 9 \n Camera 10 \n Camera 11 \n Camera 12 \n Turn OFF","Continue","Cancle");
                    }
                }
            }
            else return SendClientMessage(playerid, 0xFF0000AA, "You have cancelled.");
        }
Then here are my dialogs and command
pawn Код:
if(!strcmp(cmdtext,"/FBICAMS", true))
    {
        if(PlayerInfo[playerid][ischeckingcams] == 0)
        {
            if(IsPlayerInRangeOfPoint(playerid, 7.0, 206.319305, 190.575607, 990.607788))
            {
                TogglePlayerControllable(playerid, 0);
                ShowPlayerDialog(playerid,30, DIALOG_STYLE_LIST, "FBI CAMERAS", "Outside FBI CAMS\n Inside FBI CAMS\n Borders, Bridges CAMS\n OFF", "Select", "Cancel");
                PlayerInfo[playerid][ischeckingcams] = 1;
                return 1;
            }
            else return SendClientMessage(playerid, COLOR_GREY, "You cannot check FBI cameras here!");
        }
        else
        {
            ShowPlayerDialog(playerid, 30, DIALOG_STYLE_LIST, "FBI CAMERAS", "Outside FBI CAMS\n Inside FBI CAMS\n Borders, Bridges CAMS\n OFF", "Select", "Cancel");
        }
        return 1;
    }
And here are my dialogs
pawn Код:
if(dialogid == 30)
        {
            if(response)
            {
                if(listitem == 0)
                {
                    ShowPlayerDialog(playerid, 33, DIALOG_STYLE_LIST, "FBI OUTSIDE CAMERAS", "Outside CAM 1\nOutside CAM 2\nOutside CAM 3\nOutside CAM 4\nOFF", "Select", "Cancel");
                    PlayerInfo[playerid][insidecam1] = 0;
                    PlayerInfo[playerid][insidecam2] = 0;
                    PlayerInfo[playerid][insidecam3] = 0;
                    PlayerInfo[playerid][insidecam4] = 0;
                    PlayerInfo[playerid][insidecam5] = 0;
                    PlayerInfo[playerid][insidecam6] = 0;

                    PlayerInfo[playerid][bordercam1] = 0;
                    PlayerInfo[playerid][bordercam2] = 0;
                    PlayerInfo[playerid][bordercam3] = 0;
                    PlayerInfo[playerid][bordercam4] = 0;
                    PlayerInfo[playerid][bordercam5] = 0;
                    SendClientMessage(playerid, COLOR_GREY, "HINT: Use Left click to switch no the next camera, and Right click to see the previous one.");
                }
                else if(listitem == 1)
                {
                    ShowPlayerDialog(playerid, 32, DIALOG_STYLE_LIST, "FBI INSIDE CAMERAS", "Inside CAM 1\n Inside CAM 2\n Inside CAM 3\n Inside CAM 4 [Cell Block A] \n Inside CAM 5\n Inside CAM 6[Cell Block B]\n OFF", "Select", "Cancel");
                    PlayerInfo[playerid][outsidecam1] = 0;
                    PlayerInfo[playerid][outsidecam2] = 0;
                    PlayerInfo[playerid][outsidecam3] = 0;
                    PlayerInfo[playerid][outsidecam4] = 0;

                    PlayerInfo[playerid][bordercam1] = 0;
                    PlayerInfo[playerid][bordercam2] = 0;
                    PlayerInfo[playerid][bordercam3] = 0;
                    PlayerInfo[playerid][bordercam4] = 0;
                    PlayerInfo[playerid][bordercam5] = 0;
                    SendClientMessage(playerid, COLOR_GREY, "HINT: Use Left click to switch no the next camera, and Right click to see the previous one.");
                }
                else if(listitem == 2)
                {
                    ShowPlayerDialog(playerid, 34, DIALOG_STYLE_LIST, "FBI BORDER CAMERAS", "SF-LS Tunnel CAM\n SF AirPort CAM\nSF Highway cam CAM\n Train Bridge CAM\n SF-LV Bridge CAM\n OFF", "Select", "Cancel");
                    PlayerInfo[playerid][outsidecam1] = 0;
                    PlayerInfo[playerid][outsidecam2] = 0;
                    PlayerInfo[playerid][outsidecam3] = 0;
                    PlayerInfo[playerid][outsidecam4] = 0;
                                                //
                    PlayerInfo[playerid][insidecam1] = 0;
                    PlayerInfo[playerid][insidecam2] = 0;
                    PlayerInfo[playerid][insidecam3] = 0;
                    PlayerInfo[playerid][insidecam4] = 0;
                    PlayerInfo[playerid][insidecam5] = 0;
                    PlayerInfo[playerid][insidecam6] = 0;
                    SendClientMessage(playerid, COLOR_GREY, "HINT: Use Left click to switch no the next camera, and Right click to see the previous one.");
                }
                else if(listitem == 3)
                {
                    TogglePlayerControllable(playerid, 1);
                    SetPlayerPos(playerid, 206.319305, 190.575607, 990.607788);
                    SetPlayerInterior(playerid, 3);
                    SetCameraBehindPlayer(playerid);
                    GameTextForPlayer(playerid, "~n~   ", 1, 3);
                    PlayerInfo[playerid][outsidecam1] = 0;
                    PlayerInfo[playerid][outsidecam2] = 0;
                    PlayerInfo[playerid][outsidecam3] = 0;
                    PlayerInfo[playerid][outsidecam4] = 0;
                                                //
                    PlayerInfo[playerid][insidecam1] = 0;
                    PlayerInfo[playerid][insidecam2] = 0;
                    PlayerInfo[playerid][insidecam3] = 0;
                    PlayerInfo[playerid][insidecam4] = 0;
                    PlayerInfo[playerid][insidecam5] = 0;
                    PlayerInfo[playerid][insidecam6] = 0;

                    PlayerInfo[playerid][bordercam1] = 0;
                    PlayerInfo[playerid][bordercam2] = 0;
                    PlayerInfo[playerid][bordercam3] = 0;
                    PlayerInfo[playerid][bordercam4] = 0;
                    PlayerInfo[playerid][bordercam5] = 0;

                    TogglePlayerControllable(playerid, 1);
                    PlayerInfo[playerid][ischeckingcams] = 0;
                    PlayerInfo[playerid][msgsentcam] = 0;
                }
            }
        }
        if(dialogid == 33)
        {
            if(response)
            {
                if(listitem == 0)
                {
                    SetPlayerPos(playerid, 206.319305, 190.575607, 990.607788);
                    SetPlayerInterior(playerid, 3);
                    SetPlayerCameraPos(playerid, 240.4131,153.2235,1008.8590);
                    SetPlayerCameraLookAt(playerid, 233.0272,156.8100,1003.0234);
                    PlayerInfo[playerid][insidecam1] = 1;
                    GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~ FBI Inside CAM 1", 300000000, 3);
                }
                else if(listitem == 1)
                {
                    SetPlayerPos(playerid, 206.319305, 190.575607, 990.607788);
                    SetPlayerInterior(playerid, 3);
                    SetPlayerCameraPos(playerid, 240.6484,153.1688,1008.8590);
                    SetPlayerCameraLookAt(playerid, 238.6455,139.7479,1003.0234,185);
                    PlayerInfo[playerid][insidecam2] = 1;
                    GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~ FBI Inside CAM 2", 300000000, 3);
                }
                else if(listitem == 2)
                {
                    SetPlayerPos(playerid, 206.319305, 190.575607, 990.607788);
                    SetPlayerInterior(playerid, 3);
                    SetPlayerCameraPos(playerid, 227.2240,140.8209,1004.7906);
                    SetPlayerCameraLookAt(playerid, 226.3665,153.1583,1003.0300);
                    PlayerInfo[playerid][insidecam3] = 1;
                    GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~ FBI Inside CAM 3", 300000000, 3);
                }
                else if(listitem == 3)
                {
                    SetPlayerPos(playerid, 206.319305, 190.575607, 990.607788);
                    SetPlayerInterior(playerid, 3);
                    SetPlayerCameraPos(playerid, 203.6603,156.8057,1004.7595);
                    SetPlayerCameraLookAt(playerid, 195.7287,158.2052,1003.0234);
                    PlayerInfo[playerid][insidecam4] = 1;
                    GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~ FBI Inside CAM 4 [Cell block A]", 300000000, 3);
                }
                else if(listitem == 4)
                {
                    SetPlayerPos(playerid, 206.319305, 190.575607, 990.607788);
                    SetPlayerInterior(playerid, 3);
                    SetPlayerCameraPos(playerid, 203.6557,156.8699,1004.7595);
                    SetPlayerCameraLookAt(playerid, 202.4833,166.6258,1003.0234);
                    PlayerInfo[playerid][insidecam5] = 1;
                    GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~ FBI Inside CAM 5", 300000000, 3);
                }
                else if(listitem == 5)
                {
                    SetPlayerPos(playerid, 206.319305, 190.575607, 990.607788);
                    SetPlayerInterior(playerid, 3);
                    SetPlayerCameraPos(playerid, 203.6831,180.6254,1004.7513);
                    SetPlayerCameraLookAt(playerid, 196.1903,178.9779,1003.0234);
                    PlayerInfo[playerid][insidecam6] = 1;
                    GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~ FBI Inside CAM 6 [Cell block B]", 300000000, 3);
                }
                else if(listitem == 6)
                {
                    SetPlayerPos(playerid, 206.319305, 190.575607, 990.607788);
                    SetPlayerInterior(playerid, 3);
                    SetCameraBehindPlayer(playerid);
                    GameTextForPlayer(playerid, "~n~", 1, 3);
                    PlayerInfo[playerid][outsidecam1] = 0;
                    PlayerInfo[playerid][outsidecam2] = 0;
                    PlayerInfo[playerid][outsidecam3] = 0;
                    PlayerInfo[playerid][outsidecam4] = 0;
                                            //
                    PlayerInfo[playerid][insidecam1] = 0;
                    PlayerInfo[playerid][insidecam2] = 0;
                    PlayerInfo[playerid][insidecam3] = 0;
                    PlayerInfo[playerid][insidecam4] = 0;
                    PlayerInfo[playerid][insidecam5] = 0;
                    PlayerInfo[playerid][insidecam6] = 0;
                                            //
                    PlayerInfo[playerid][bordercam1] = 0;
                    PlayerInfo[playerid][bordercam2] = 0;
                    PlayerInfo[playerid][bordercam3] = 0;
                    PlayerInfo[playerid][bordercam4] = 0;
                    PlayerInfo[playerid][bordercam5] = 0;
                    PlayerInfo[playerid][ischeckingcams] = 0;
                    PlayerInfo[playerid][msgsentcam] = 0;

                    TogglePlayerControllable(playerid, 1);
                }
            }
        }
        if(dialogid == 32)
        {
            if(response)
            {
                if(listitem == 0)
                {
                    SetPlayerPos(playerid, -2648.4507,-4.6231,30.6406);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerCameraPos(playerid, -2657.2495,-25.8422,10.0937);
                    SetPlayerCameraLookAt(playerid, -2629.0256,-48.7409,4.3359);
                    PlayerInfo[playerid][outsidecam1] = 1;
                    GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~ FBI Outside CAM 1", 300000000, 3);
                }
                else if(listitem == 1)
                {
                    SetPlayerPos(playerid, -2648.4507,-4.6231,30.6406);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerCameraPos(playerid, -2665.7991,11.6074,8.4671);
                    SetPlayerCameraLookAt(playerid, -2689.0364,-38.6667,4.3359);
                    PlayerInfo[playerid][outsidecam2] = 1;
                    GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~ FBI Outside CAM 2", 300000000, 3);
                }
                else if(listitem == 2)
                {
                    SetPlayerPos(playerid, -2648.4507,-4.6231,30.6406);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerCameraPos(playerid, -2665.7991,11.6074,8.4671);
                    SetPlayerCameraLookAt(playerid, -2689.0364,-38.6667,4.3359);
                    PlayerInfo[playerid][outsidecam3] = 1;
                    GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~ FBI Outside CAM 3", 300000000, 3);
                }
                else if(listitem == 3)
                {
                    SetPlayerPos(playerid, -2648.4507,-4.6231,30.6406);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerCameraPos(playerid, -2625.8354,14.8343,9.6061);
                    SetPlayerCameraLookAt(playerid, -2672.2363,16.6167,4.9375);
                    PlayerInfo[playerid][outsidecam4] = 1;
                    GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~ FBI Outside CAM 4", 300000000, 3);
                }
                else if(listitem == 4)
                {
                    SetPlayerPos(playerid, 206.319305, 190.575607, 990.607788);
                    SetPlayerInterior(playerid, 3);
                    SetCameraBehindPlayer(playerid);
                    PlayerInfo[playerid][outsidecam1] = 0;
                    PlayerInfo[playerid][outsidecam2] = 0;
                    PlayerInfo[playerid][outsidecam3] = 0;
                    PlayerInfo[playerid][outsidecam4] = 0;

                    PlayerInfo[playerid][insidecam1] = 0;
                    PlayerInfo[playerid][insidecam2] = 0;
                    PlayerInfo[playerid][insidecam3] = 0;
                    PlayerInfo[playerid][insidecam4] = 0;
                    PlayerInfo[playerid][insidecam5] = 0;
                    PlayerInfo[playerid][insidecam6] = 0;

                    PlayerInfo[playerid][bordercam1] = 0;
                    PlayerInfo[playerid][bordercam2] = 0;
                    PlayerInfo[playerid][bordercam3] = 0;
                    PlayerInfo[playerid][bordercam4] = 0;
                    PlayerInfo[playerid][bordercam5] = 0;
                    PlayerInfo[playerid][ischeckingcams] = 0;
                    GameTextForPlayer(playerid, "~n~   ", 1, 3);
                    TogglePlayerControllable(playerid, 1);
                    PlayerInfo[playerid][msgsentcam] = 0;
                }
            }
        }
    }
    if(dialogid == 34)
    {
        if(response)
        {
            if(listitem == 0)
            {
                SetPlayerPos(playerid, -1729.7576,-783.2591,-0.5414);
                SetPlayerInterior(playerid, 0);
                SetPlayerCameraPos(playerid, -1723.1350,-742.1492,43.8976);
                SetPlayerCameraLookAt(playerid, -1738.3336,-725.8391,31.9454);
                PlayerInfo[playerid][bordercam1] = 1;
                GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~ FBI SF-LS Tunnel CAM", 300000000, 3);
            }
            else if(listitem == 1)
            {
                SetPlayerPos(playerid, -1729.7576,-783.2591,-0.5414);
                SetPlayerInterior(playerid, 0);
                SetPlayerCameraPos(playerid, -1742.0610,-580.6212,34.6635);
                SetPlayerCameraLookAt(playerid, -1803.1162,-581.1923,15.9916);
                PlayerInfo[playerid][bordercam2] = 1;
                GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~ FBI SF Airport CAM", 300000000, 3);
            }
            else if(listitem == 2)
            {
                SetPlayerPos(playerid, -1729.7576,-783.2591,-0.5414);
                SetPlayerInterior(playerid, 0);
                SetPlayerCameraPos(playerid, -1615.2742,623.0242,63.1830);
                SetPlayerCameraLookAt(playerid, -1698.6879,508.5750,38.2822);
                PlayerInfo[playerid][bordercam3] = 1;
                GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~ FBI SF Highway CAM", 300000000, 3);
            }
            else if(listitem == 3)
            {
                SetPlayerPos(playerid, -1729.7576,-783.2591,-0.5414);
                SetPlayerInterior(playerid, 0);
                SetPlayerCameraPos(playerid, -1637.1870,487.9489,29.9453);
                SetPlayerCameraLookAt(playerid, -1588.4495,523.7460,30.9452);
                PlayerInfo[playerid][bordercam4] = 1;
                GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~ FBI Train tunnel CAM", 300000000, 3);
            }
            else if(listitem == 4)
            {
                SetPlayerPos(playerid, -1729.7576,-783.2591,-0.5414);
                SetPlayerInterior(playerid, 0);
                SetPlayerCameraPos(playerid, -2701.6355,1369.4521,67.472);
                SetPlayerCameraLookAt(playerid, -2685.6536,1276.0380,61.2178);
                PlayerInfo[playerid][bordercam5] = 1;
                GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~ FBI SF-LV Bridge CAM", 300000000, 3);
            }
            else if(listitem == 5)
            {
                SetPlayerPos(playerid, 206.319305, 190.575607, 990.607788);
                SetPlayerInterior(playerid, 3);
                SetCameraBehindPlayer(playerid);
                GameTextForPlayer(playerid, "~n~   ", 1, 3);
                PlayerInfo[playerid][outsidecam1] = 0;
                PlayerInfo[playerid][outsidecam2] = 0;
                PlayerInfo[playerid][outsidecam3] = 0;
                PlayerInfo[playerid][outsidecam4] = 0;

                PlayerInfo[playerid][insidecam1] = 0;
                PlayerInfo[playerid][insidecam2] = 0;
                PlayerInfo[playerid][insidecam3] = 0;
                PlayerInfo[playerid][insidecam4] = 0;
                PlayerInfo[playerid][insidecam5] = 0;
                PlayerInfo[playerid][insidecam6] = 0;

                PlayerInfo[playerid][bordercam1] = 0;
                PlayerInfo[playerid][bordercam2] = 0;
                PlayerInfo[playerid][bordercam3] = 0;
                PlayerInfo[playerid][bordercam4] = 0;
                PlayerInfo[playerid][bordercam5] = 0;
                PlayerInfo[playerid][ischeckingcams] = 0;
                TogglePlayerControllable(playerid, 1);
                PlayerInfo[playerid][msgsentcam] = 0;
            }
        }
    }
    return 0;
Both dialogs are under
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
just to not make any dilema.

Thanks in advance!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)