Dialog Ignores Listitem Numbers >2
#1

Hey,

My dialog ignores Listitem Number 3 (+)

The others are working fine

Nothing happens and the dialog is not shown

I tried all Dialog styles DIALOG_LIST DIALOG_TABLIST DIALOG_TABLIST_HEADERS

no one works.

ShowPlayerDialog(playerid, SETTINGS, DIALOG_STYLE_TABLIST, "Settings","Change Password\nChange Name\nChange Security Code\nDelete Security Code", "Select", "Exit");

//"Delete Security Code" is not working

Quote:

if(dialogid == SETTINGS)
{
if(response)
{
if(listitem == 0)
{
ShowPlayerDialog(playerid,NEWPW,DIALOG_STYLE_INPUT ,"Password","Choose a new Password","Choose","Cancel");
}
if(listitem == 1)
{
SendClientMessage(playerid,BLAU,"You dont have a namechange - Fuction not worked out");
}
if(listitem == 2)
{
if(sSpieler[playerid][pPassport] == 1)
{
ShowPlayerDialog(playerid,NEWCODE,DIALOG_STYLE_INP UT,"Security Check","Enter your current Security Code first","Choose","Cancel");
}
else
{
SendClientMessage(playerid,ROT,"You don't have a Security Code! You must create one first!");
}
if(listitem == 3)
{
ShowPlayerDialog(playerid,AREOK,DIALOG_STYLE_INPUT ,"Security Check","Enter your current Security Code first","Choose","Cancel"); [// This dialog is not shown
}

return 1;
}
}
}

Reply


Messages In This Thread
Dialog Ignores Listitem Numbers >2 - by pulsare - 17.11.2017, 20:13
Re: Dialog Ignores Listitem Numbers >2 - by Lucases - 17.11.2017, 20:22
Re: Dialog Ignores Listitem Numbers >2 - by pulsare - 17.11.2017, 20:26
Re: Dialog Ignores Listitem Numbers >2 - by Lucases - 17.11.2017, 20:30
Re: Dialog Ignores Listitem Numbers >2 - by pulsare - 17.11.2017, 20:31
Re: Dialog Ignores Listitem Numbers >2 - by Lucases - 17.11.2017, 20:38
Re: Dialog Ignores Listitem Numbers >2 - by pulsare - 17.11.2017, 20:52
Re: Dialog Ignores Listitem Numbers >2 - by pulsare - 17.11.2017, 21:28
Re: Dialog Ignores Listitem Numbers >2 - by Juvanii - 17.11.2017, 23:49

Forum Jump:


Users browsing this thread: 1 Guest(s)