Dialog Ids getting mixed up with Gamemode & FS.
#9

Okay, so this
pawn Code:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,""COL_WHITE"Login",""COL_RED"You have entered an incorrect password.\n"COL_WHITE"Type your password below to login.","Login","Quit");
Appears after this happens
pawn Code:
stock EnterHouse(playerid, houseid)
{
        SetPlayerPos(playerid, HouseInfo[houseid][InteriorX], HouseInfo[houseid][InteriorY], HouseInfo[houseid][InteriorZ]);
        SetPlayerInterior(playerid, HouseInfo[houseid][Interior]);
        SetPlayerVirtualWorld(playerid, HouseInfo[houseid][VirtualWorld]);
        SetLastHouse(playerid, houseid);
        TogglePlayerControllable(playerid, false);
        GameTextForPlayer(playerid, "~r~Please Wait", 2000, 5);
        SetTimerEx("player_unfreeze", 2000, false, "i", playerid);
        return 1;
}
I think I know what's up,

pawn Code:
case DIALOG_OTHERS_HOUSE:
                {
                        if(!response) return 1;
                        if(HouseInfo[hID][Locked] == 1)
                        {
                                FS_MsgBox(playerid, BOX_STYLE_ERROR, "This house is {FF0000}locked.");
                        }
                        else
                        {
                                EnterHouse(playerid, hID);
                        }
                        return 1;
                }
You did not include list items, so he displays the errorMSGBOX and tp to the location, add the listitem and see if it works. or change
pawn Code:
ShowPlayerDialog(playerid, DIALOG_OTHERS_HOUSE, DIALOG_STYLE_LIST, string, string2, "OK", "Close");
to a MSGBOX
Reply


Messages In This Thread
Dialog Ids getting mixed up with Gamemode & FS. - by EiresJason - 02.07.2013, 19:47
Re: Dialog Ids getting mixed up with Gamemode & FS. - by jueix - 02.07.2013, 20:05
Re: Dialog Ids getting mixed up with Gamemode & FS. - by shadowdog - 02.07.2013, 20:06
Re: Dialog Ids getting mixed up with Gamemode & FS. - by EiresJason - 02.07.2013, 20:33
Re: Dialog Ids getting mixed up with Gamemode & FS. - by shadowdog - 02.07.2013, 20:55
Re: Dialog Ids getting mixed up with Gamemode & FS. - by EiresJason - 02.07.2013, 21:12
Re: Dialog Ids getting mixed up with Gamemode & FS. - by shadowdog - 02.07.2013, 21:36
Re: Dialog Ids getting mixed up with Gamemode & FS. - by EiresJason - 02.07.2013, 21:56
Re: Dialog Ids getting mixed up with Gamemode & FS. - by shadowdog - 02.07.2013, 22:38
Re: Dialog Ids getting mixed up with Gamemode & FS. - by EiresJason - 02.07.2013, 22:46
Re: Dialog Ids getting mixed up with Gamemode & FS. - by shadowdog - 03.07.2013, 12:42
Re: Dialog Ids getting mixed up with Gamemode & FS. - by EiresJason - 03.07.2013, 13:43
Re: Dialog Ids getting mixed up with Gamemode & FS. - by EiresJason - 04.07.2013, 13:13
Re: Dialog Ids getting mixed up with Gamemode & FS. - by EiresJason - 05.07.2013, 14:17
Re: Dialog Ids getting mixed up with Gamemode & FS. - by drichie - 05.07.2013, 14:28
Re: Dialog Ids getting mixed up with Gamemode & FS. - by EiresJason - 05.07.2013, 14:36
Respuesta: Re: Dialog Ids getting mixed up with Gamemode & FS. - by Gryphus One - 05.07.2013, 17:30
Re: Respuesta: Re: Dialog Ids getting mixed up with Gamemode & FS. - by EiresJason - 05.07.2013, 17:45
Respuesta: Dialog Ids getting mixed up with Gamemode & FS. - by Gryphus One - 05.07.2013, 17:58
Re: Respuesta: Dialog Ids getting mixed up with Gamemode & FS. - by EiresJason - 05.07.2013, 18:27
Respuesta: Dialog Ids getting mixed up with Gamemode & FS. - by Gryphus One - 06.07.2013, 16:09
Re: Respuesta: Dialog Ids getting mixed up with Gamemode & FS. - by EiresJason - 06.07.2013, 16:44
Re: Dialog Ids getting mixed up with Gamemode & FS. - by Konstantinos - 06.07.2013, 17:04
Re: Dialog Ids getting mixed up with Gamemode & FS. - by EiresJason - 06.07.2013, 20:27
Re: Dialog Ids getting mixed up with Gamemode & FS. - by Swisher - 14.01.2014, 01:47
Re: Dialog Ids getting mixed up with Gamemode & FS. - by Emmet_ - 14.01.2014, 01:53
Re: Dialog Ids getting mixed up with Gamemode & FS. - by Swisher - 14.01.2014, 01:59
Re: Dialog Ids getting mixed up with Gamemode & FS. - by Swisher - 14.01.2014, 02:05
Re: Dialog Ids getting mixed up with Gamemode & FS. - by Emmet_ - 14.01.2014, 02:07
Re: Dialog Ids getting mixed up with Gamemode & FS. - by Swisher - 14.01.2014, 02:10
Re: Dialog Ids getting mixed up with Gamemode & FS. - by Swisher - 14.01.2014, 02:14
Re: Dialog Ids getting mixed up with Gamemode & FS. - by Swisher - 14.01.2014, 02:21
Re: Dialog Ids getting mixed up with Gamemode & FS. - by Pottus - 14.01.2014, 02:22
Re: Dialog Ids getting mixed up with Gamemode & FS. - by Swisher - 14.01.2014, 02:28
Re: Dialog Ids getting mixed up with Gamemode & FS. - by Pottus - 14.01.2014, 02:39
Re: Dialog Ids getting mixed up with Gamemode & FS. - by Swisher - 14.01.2014, 02:40

Forum Jump:


Users browsing this thread: 1 Guest(s)