[Ajuda] Ranking no servidor
#1

Tava colocando todo o ranking no meu servidor (level, dinheiro, etc), funcionou tudo criou as .ini nas pastas, setei level meu nome apareceu lб na .ini.

Porйm eu utilizo o comando /top10, aparece o menu e quando eu abro os nome level, dinheiro ele nгo abre.

Como se ele nгo estivesse abrindo a dialog.

PHP код:

CMD
:top10(playerid)
{
    if(
Player[playerid][pLogged] == false)return SendClientMessage(playeridCOR_ERRO"Vocк nгo estб logado!");
    
StringTop10[0]=EOS;
    
strcat(StringTop10"{6B0C0C} » {FFFFFF}Score\n");
    
strcat(StringTop10"{6B0C0C} » {FFFFFF}Kill\n");
    
strcat(StringTop10"{6B0C0C} » {FFFFFF}Money\n");
    
strcat(StringTop10"{6B0C0C} » {FFFFFF}Duelo Vencidos\n");
    
strcat(StringTop10"{6B0C0C} » {FFFFFF}Duelos Perdidos\n");
    
strcat(StringTop10"{6B0C0C} » {FFFFFF}Procurado\n");
    
strcat(StringTop10"{6B0C0C} » {FFFFFF}Hits\n");
    
strcat(StringTop10"{6B0C0C} » {FFFFFF}MTXHits\n");
    
strcat(StringTop10"{6B0C0C} » {FFFFFF}Vips\n");
    
strcat(StringTop10"{6B0C0C} » {FFFFFF}Cifrгo\n");
    
ShowPlayerDialog(playerid5009DIALOG_STYLE_LIST"{6B0C0C}» {FFFFFF}Top 10 - Servidor"StringTop10"Ver""Cancelar");
    return 
1;

E a dialog...
PHP код:
    if(dialogid == DIALOG_top10)
    {
        if(!
response) { return 1; }
        switch(
listitem)
        {
            case 
0:
            {
                
ShowPlayerDialog(playerid5008DIALOG_STYLE_TABLIST_HEADERS"{00FF00}»{FFFFFF}Top 10 » Level"getrank("Score""Level"), "Voltar""");
            }
            case 
1:
            {
                
ShowPlayerDialog(playerid5008DIALOG_STYLE_TABLIST_HEADERS"{00FF00}»{FFFFFF}Top 10 » Matou"getrank("Kill""Matou"), "Voltar""");
            }
            case 
2:
            {
                
ShowPlayerDialog(playerid5008DIALOG_STYLE_TABLIST_HEADERS"{00FF00}»{FFFFFF}Top 10 » Dinheiro R$"getrank("Money""Dinheiro R$"), "Voltar""");
            }
            case 
3:
            {
                
ShowPlayerDialog(playerid5008DIALOG_STYLE_TABLIST_HEADERS"{00FF00}»{FFFFFF}Top 10 » Duel Winners"getrank("DueloW""Duelos ganhos"), "Voltar""");
            }
            case 
4:
            {
                
ShowPlayerDialog(playerid5008DIALOG_STYLE_TABLIST_HEADERS"{00FF00}»{FFFFFF}Top 10 » Duel Losers"getrank("DueloL""Duelos perdidos"), "Voltar""");
            }
            case 
5:
            {
                
ShowPlayerDialog(playerid5008DIALOG_STYLE_TABLIST_HEADERS"{00FF00}»{FFFFFF}Top 10 » Procurado"getrank("Procurado""Procurado"), "Voltar""");
            }
            case 
6:
            {
                
ShowPlayerDialog(playerid5008DIALOG_STYLE_TABLIST_HEADERS"{00FF00}»{FFFFFF}Top 10 » Hits"getrank("Hits""Hits"), "Voltar""");
            }
            case 
7:
            {
                
ShowPlayerDialog(playerid5008DIALOG_STYLE_TABLIST_HEADERS"{00FF00}»{FFFFFF}Top 10 » MTXHits"getrank("MTXHits""Hits"), "Voltar""");
            }
            case 
8:
            {
                
ShowPlayerDialog(playerid5008DIALOG_STYLE_TABLIST_HEADERS"{00FF00}»{FFFFFF}Top 10 » Vips"getrank("Vips""Tempo"), "Voltar""");
            }
        }
        return 
1;
    } 

Nгo estou conseguindo acessar a dialog.
Reply


Messages In This Thread
Ranking no servidor - by JuninTJF - 14.11.2018, 22:34
Re: Ranking no servidor - by Felipealves - 14.11.2018, 22:40
Re: Ranking no servidor - by JuninTJF - 14.11.2018, 22:41
Re: Ranking no servidor - by Felipealves - 14.11.2018, 23:45
Re: Ranking no servidor - by zF3lKy3 - 14.11.2018, 23:50
Re: Ranking no servidor - by JuninTJF - 15.11.2018, 00:20
Re: Ranking no servidor - by pWesley - 15.11.2018, 00:21
Re: Ranking no servidor - by JuninTJF - 15.11.2018, 00:53
Re: Ranking no servidor - by Felipealves - 15.11.2018, 00:58
Re: Ranking no servidor - by JuninTJF - 15.11.2018, 01:18
Re: Ranking no servidor - by JuninTJF - 15.11.2018, 04:10
Re: Ranking no servidor - by Felipealves - 15.11.2018, 12:45
Re: Ranking no servidor - by JuninTJF - 15.11.2018, 13:08
Re: Ranking no servidor - by Felipealves - 15.11.2018, 14:38

Forum Jump:


Users browsing this thread: 1 Guest(s)