Dialog problem
#3

Quote:
Originally Posted by Viniborn
Посмотреть сообщение
Show the OnDialogResponse
why? he said the dialog is not showing up, OnDialogResponse gets called when the dialog is shown and player selects anything from it.
pawn Код:
CMD:zastitar(playerid, params[])
{
    #pragma unused params
    if(PlayerInfo[playerid][pJob] == 6)
    {
        ShowPlayerDialog(playerid, 995, DIALOG_STYLE_LIST, "Lista podrucja","Aerodrom\nBanka\nBurg\nBolnica\nGlen park\nOpstina\nKolodvor", "Uredu", "Izlaz");
    }
    else
    {
        SendClientMessage(playerid,WHITE,"[{FF0000}Balkan Country{FFFFFF}]{AFAFAF} Niste zaposleni kao zastitar!");
    }
    return 1;
}
Don't go too far with dialog id numbers.
EDIT:
Quote:
Originally Posted by Viniborn
Посмотреть сообщение
Max dialogid is 32767
now you're talking.
Reply


Messages In This Thread
Dialog problem - by Marusa - 16.09.2012, 16:26
Re: Dialog problem - by ViniBorn - 16.09.2012, 16:30
Re: Dialog problem - by AtItsMax - 16.09.2012, 16:30
Re: Dialog problem - by Marusa - 16.09.2012, 16:42

Forum Jump:


Users browsing this thread: 1 Guest(s)