[Ajuda] trocar senha / mudar nick
#1

to procurando o cmd trocar senha e nick alguem tem ai?
Reply
#2

trocar senha e nick de que? meu caro nгo existe uma funзгo nescessбrio para isso.. 'TrocarSenha(playeird)' nгo adianta sair pedindo, pois й meio que dificil alguem fazer algo que bata com o seu GM, vocк poderia tentar fazer sozinho e postar apenas para pedir ajuda em relaзгo a erros.
Reply
#3

- Mudar Nick
pawn Код:
ShowPlayerDialog(playerid, 1, DIALOG_STYPE_INPUT,"Mudar Nick","Novo Nick:","Salvar","Oky");
    if(dialogid == 1)
    {
        new string[24];
        format(string, sizeof(string),"%s",inputtext);
        SetPlayerName(playerid, string);
    }

- Mudar Senha
pawn Код:
ShowPlayerDialog(playerid, 2, DIALOG_STYPE_INPUT,"Mudar Senha","Nova Senha:","Salvar","Oky");
    if(dialogid == 2)
    {
        new string[24], l[24]; GetPlayerName(playerid, l, 24);
        format(string, sizeof(string),"pasta_usuarios/%s.ini",i);
        dini_Set(string,"Senha", inputtext);
    }
Reply
#4

pawn Код:
C:\Documents and Settings\Don_Speed\Desktop\samp03csvr_R5_win32\gamemodes\Thug3.0.pwn(40927) : warning 213: tag mismatch
C:\Documents and Settings\Don_Speed\Desktop\samp03csvr_R5_win32\gamemodes\Thug3.0.pwn(44690) : error 010: invalid function or declaration
C:\Documents and Settings\Don_Speed\Desktop\samp03csvr_R5_win32\gamemodes\Thug3.0.pwn(44692) : error 010: invalid function or declaration
C:\Documents and Settings\Don_Speed\Desktop\samp03csvr_R5_win32\gamemodes\Thug3.0.pwn(44698) : error 010: invalid function or declaration
C:\Documents and Settings\Don_Speed\Desktop\samp03csvr_R5_win32\gamemodes\Thug3.0.pwn(44702) : error 010: invalid function or declaration
C:\Documents and Settings\Don_Speed\Desktop\samp03csvr_R5_win32\gamemodes\Thug3.0.pwn(44704) : error 010: invalid function or declaration
C:\Documents and Settings\Don_Speed\Desktop\samp03csvr_R5_win32\gamemodes\Thug3.0.pwn(45327) : warning 235: public function lacks forward declaration (symbol "PDetranA")
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.
pawn Код:
if(dialogid == 405)
        {
                if(listitem == 0)
                {
                ShowPlayerDialog(playerid, 0, DIALOG_STYPE_INPUT,"Mudar Nick","Novo Nick:","Trocar","Sair");
                format(string, sizeof(str),"%s",inputtext);
                SetPlayerName(playerid, string);
                }
                if(dialogid == 1)
                {
                ShowPlayerDialog(playerid, 1, DIALOG_STYPE_INPUT,"Mudar Senha","Nova Senha:","Trocar","Sair");
                format(string, sizeof(str),"%s.ini",i);
                return 1;
               }
        return 1;
}
Reply
#5

poste as linhas dos erros.


off.
indo pa scola.
Reply
#6

esse q postei embaxo sao as linhas do erro
Reply
#7

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 405)
    {
        if(listitem == 0)
        {
            ShowPlayerDialog(playerid, 0, DIALOG_STYLE_INPUT,"Mudar Nick","Novo Nick:","Trocar","Sair");
            SetPlayerName(playerid, inputtext);
        }
        if(dialogid == 1)
        {
            ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT,"Mudar Senha","Nova Senha:","Trocar","Sair");
            new string[100], name[24]; GetPlayerName(playerid, name, 24);
            format(string, sizeof(string),"%s.ini",name);
            dini_Set(string,"Senha", inputtext);
        }
    }
    return 1;
}
Reply
#8

ta deixa
Reply
#9

Quote:
Originally Posted by Don_Speed
Посмотреть сообщение
ta deixa
aff quando meu cуdigo esta correto vocк desiste!.
Reply
#10

Quote:
Originally Posted by [O.z]Caroline
Посмотреть сообщение
aff quando meu cуdigo esta correto vocк desiste!.
esse don й assim, quer tudo na mгo, nгo procura entender o cуdigo, sу quer pronto pra por no lugar..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)