23.03.2019, 17:24
What the hell is wrong? I'm getting "duplicate "case" label (value 11) at this code placed on OnDialogResponse:
pawn Code:
/* ---- Commands Dialog ---- */
case DIALOG_COMMANDS:
{
if(!response) return 1;
switch(listitem)
{
case 0: ShowGeneralCmds(playerid);
case 1: ShowPMCmds(playerid);
case 2: ShowGarageCmds(playerid);
case 3: ShowCrateCmds(playerid);
case 4: ShowCollectiblesCmds(playerid);
case 5: ShowBountyCmds(playerid);
case 6: ShowReputationCmds(playerid);
case 7: ShowCookiesCmds(playerid);
case 8: ShowPartyCmds(playerid);
case 9: ShowDeathmatchCmds(playerid);
case 10: ShowTeleportCmds(playerid);
}
}
/* ------------------------- */