Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

[Ajuda] Erro com Dialog

$
0
0
Fala galera, to com um problemão com uma dialog, tem algo errado nela que faz o pawno parar, deve conter alguma coisa errada, alguém poderia dar uma checada no cód para conferir se há erros ? Muito obrigado desde já ^^


Code:

if(dialogid == 2572)
 {
    if(response)
    {
        switch(listitem)
        {
                      case 0:
                    {
                            new String[2000];
                strcat(String,"{FFFFFF}Profs\t{FF0000}Level\t{1CEB00}Salario\nMendigo\t{F71616}0\t{1CEB00}$200\nRepórter\t{F71616}10\t{1CEB00}$600\nMédico\t{F71616}15\t{1CEB00}$900\nMecânico\t{F71616}30\t{1CEB00}$1500\nBombeiro\t{F71616}40\t{1CEB00}$2000\n Taxista\t{F71616}65\t{1CEB00}$2600\n");
                ShowPlayerDialog(playerid,1970,DIALOG_STYLE_TABLIST_HEADERS,"Honestas","Pegar","Voltar");
                        }
                        case 1:
                {
                          new String[2000];
                strcat(String,"{FFFFFF}Profs\t{FF0000}Level\t{1CEB00}Salario\nHavaianos\t{F71616}70\t{1CEB00}$600\nFirbs\t{F71616}95\t{1CEB00}$700\nBallas\t{F71616}100\t{1CEB00}$800\nSamurais\t{F71616}111\t{1CEB00}$900\nCorleone\t{F71616}120\t{1CEB00}$900\nBarzini\t{F71616}125\t{1CEB00}$1200\nHitmans\t{F71616}130\t{1CEB00}$1600\nTriads\t{F71616}130\t{1CEB00}$1600\nGuerrilheiros\t{F71616}140\t{1CEB00}$1700\nPcc\t{F71616}142\t{1CEB00}$1750\nGroove\t{F71616}150\t{1CEB00}$2600\nCorn\t{F71616}180\t{1CEB00}$3000\n");
                ShowPlayerDialog(playerid,1596,DIALOG_STYLE_TABLIST_HEADERS,"Criminosas","Pegar","Voltar");
                        }
                        case 2:
                    {
                        new String[2000];
                strcat(String,"{FFFFFF}Porfs\t{FF0000}Level\t{1CEB00}Salario\nPolicia Militar\t{F71616}50\t{1CEB00}$1600\nPolicia Civil\t{F71616}60\t{1CEB00}$1650\nPolicia Federal\t{F71616}70\t{1CEB00}$1700\nRota\t{F71616}100\t{1CEB00}$2000\nBope\t{F71616}120\t{1CEB00}$2500\nSwat\t{F71616}230\t{1CEB00}$2600\nExército\t{F71616}500\t{1CEB00}$5000\n");
                ShowPlayerDialog(playerid,4780,DIALOG_STYLE_TABLIST_HEADERS,"Policiais","Pegar","Voltar");

                        }
                        case 3:
                    {
                          new String[2000];
                strcat(String,"{FFFFFF}Profs\t{FF0000}Level\t{1CEB00}Salario\nPrefeitura\t{F71616}400\t{1CEB00}$4000\nZrsds\t{F71616}900\t{1CEB00}$7000\n");
                ShowPlayerDialog(playerid,3458,DIALOG_STYLE_TABLIST_HEADERS,"Especiais","Pegar","Voltar");
                        }
                }
        }


Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>