[Ajuda] dialog bugada
#3

Quote:
Originally Posted by Whoo
Посмотреть сообщение
PHP код:
if(dialogid == dialog_logarbanco){
    if(
response){
    
        if(!
strlen(inputtext) ){
            new 
str[128];
            
format(str128"Prezado Cliente bem vindo, digite sua senha do banco para entrar!");
            
ShowPlayerDialog(playeriddialog_logarbancoDIALOG_STYLE_PASSWORD"LOGIN DE CONTA BANCO INTERNACIONAL"str"OK","sair");
            return 
1;
            }
            
        
format(BancoInfo[playerid][senhabanco], 30"%s"DOF2_GetString(string"senhabanco"));
        if( 
strcmp(inputtextBancoInfo[playerid][senhabanco], false) == )
        {
            new 
str[128];
            
format(str100"Saldo\nSacar\nDepositar");
            
ShowPlayerDialog(playeriddialog_bancoDIALOG_STYLE_LIST"Oque deseja fazer?",str"OK""Sair");
            
SCM(playerid, -1"Logado!");
        }
        else
        {
            
SCM(playeridlaranja"senha incorreta");
            
format(str128"Prezado Cliente bem vindo, digite sua senha do banco para entrar!");
            
ShowPlayerDialog(playeriddialog_logarbancoDIALOG_STYLE_PASSWORD"LOGIN DE CONTA BANCO INTERNACIONAL"str"OK","sair");
        }
    }else{
        
SCM(playerid, -1"voce cancelou o login");
    }
    return 
1;

vocк nгo falou que bug..
@edit
Deu certo +rep
Reply


Messages In This Thread
dialog bugada - by moura98 - 01.07.2016, 19:44
Re: dialog bugada - by Whoo - 01.07.2016, 19:49
Re: dialog bugada - by moura98 - 01.07.2016, 19:53

Forum Jump:


Users browsing this thread: 1 Guest(s)