Hi,
ich habe ein Problem. Und zawr wird sa menu angezeigt. Aber nach den menu kommst nix..
public OnPlayerSelectedMenuRow(playerid,row)
{
new Menu:CurrentMenu = GetPlayerMenu(playerid);
if(CurrentMenu == FAHRPROB_QUESTIONS[0] || CurrentMenu == FAHRPROB_QUESTIONS[1])
{
switch(row)
{
case 1:
{
switch(FschulProbLic[playerid])
{
case 1:
{
switch(FschulQuest[playerid])
{
case 1:
{
SendClientMessage(playerid,COLOR_RED,"Falsche Antwort!");
TogglePlayerControllable(playerid,1);
SetPlayerVirtualWorld(playerid,0);
}
case 2:
{
SendClientMessage(playerid,COLOR_RED,"Falsche Antwort!");
TogglePlayerControllable(playerid,1);
}
case 3:
{
FahrschulQuest(playerid,1,4);
SendClientMessage(playerid,Grün,"Richtige Antwort!");
}
case 4:
{
TogglePlayerControllable(playerid,1);
SendClientMessage(playerid,Grün,"Du hast die theoretische Prüfung bestanden!");
}
}
}
}
}
}
}
return 1;
}