Wenn ich im Dialog_CC aufrufe und etwas anklicke, folgt auf einmal das Menü Dialog_Reg woran liegt das?
Suche grade wie ein irrer
f(dialogid == DIALOG_REG)
{
if(response)
{
ShowPlayerDialog(playerid,DIALOG_REG2,DIALOG_STYLE_INPUT,"Account erstellen","Setze nun ein Passwort:","OK","Abbrechen");
}
else
{
ShowPlayerDialog(playerid,DIALOG_REG,DIALOG_STYLE_MSGBOX,"Account","Du benötigst einen Account, um auf diesem Server zu spielen!","Erstellen","Abbrechen");
}
}
if(dialogid == DIALOG_CC)
{
if(!response) return SendClientMessage(playerid, 0xCC0000FF, "Du hast das Menü verlassen");
switch(listitem)
{
case 0:
{
if(GetPVarInt(playerid, "gaga") == 0)
{
// Inhalt
}
else if(GetPVarInt(playerid, "gaga") == 1)
{
// Inhalt
}
}
case 1:
{
if(GetPVarInt(playerid, "gaga") == 0)
{
// Inhalt
}
else if(GetPVarInt(playerid, "gaga") == 1)
{
// Inhalt
}
}
case 2:
{
if(GetPVarInt(playerid, "gaga") == 0)
{
// Inhalt
}
else if(GetPVarInt(playerid, "gaga") == 1)
{
// Inhalt
}
}
case 3:
{
if(GetPVarInt(playerid, "gaga") == 0)
{
// Inhalt
}
else if(GetPVarInt(playerid, "gaga") == 1)
{
// Inhalt
}
}
case 4:
{
if(GetPVarInt(playerid, "gaga") == 0)
{
// Inhalt
}
else if(GetPVarInt(playerid, "gaga") == 1)
{
// Inhalt
}
}
case 5:
{
if(GetPVarInt(playerid, "gaga") == 0)
{
// Inhalt
}
else if(GetPVarInt(playerid, "gaga") == 1)
{
// Inhalt
}
}
}
return 1;
}
Sufu benutzt, auch Themen gefunden... aber keiner mit ner Lösung