02.07.2013, 22:38
Okay, so this
Appears after this happens
I think I know what's up,
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
to a MSGBOX
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");
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;
}
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;
}
pawn Code:
ShowPlayerDialog(playerid, DIALOG_OTHERS_HOUSE, DIALOG_STYLE_LIST, string, string2, "OK", "Close");

