Error with ShowPlayerDialog
#1

pawn Code:
CMD:buyhouselock(playerid, params[])
{
    new idx = GetPlayerVirtualWorld(playerid)-100;
    if(BizInfo[idx][bType] == 1)
    {
        ShowPlayerDialog(playerid, BUYHOUSELOCK, DIALOG_STYLE_LIST, "Lock Type", "Door Lock - 50,000$\nCentral Locking System - 250,000$", "Choose", "Cancel"); //HERE is where the code reaches, then returns on the next sentence. But NO DIALOG SHOWS.
        return 1;
    }
    else
    {
        return SendClientMessage(playerid, COLOR_WHITE, "You are not in a 24/7 business shop.");
    }
    SendClientMessage(playerid, COLOR_WHITE, "BUG #3");
    return 1;
}
As commented in the code, no dialog is shown, No errors/warnings are given though.
Reply


Messages In This Thread
Error with ShowPlayerDialog - by maramizo - 26.07.2012, 22:57
Re: Error with ShowPlayerDialog - by MadafakaPro - 26.07.2012, 23:06
Re: Error with ShowPlayerDialog - by maramizo - 26.07.2012, 23:09
Re: Error with ShowPlayerDialog - by maramizo - 26.07.2012, 23:19
Re: Error with ShowPlayerDialog - by MP2 - 26.07.2012, 23:21
Re: Error with ShowPlayerDialog - by maramizo - 26.07.2012, 23:21
Re: Error with ShowPlayerDialog - by [KHK]Khalid - 26.07.2012, 23:22
Re: Error with ShowPlayerDialog - by maramizo - 26.07.2012, 23:37
Re: Error with ShowPlayerDialog - by [KHK]Khalid - 26.07.2012, 23:38

Forum Jump:


Users browsing this thread: 1 Guest(s)