Secret password on dialog response
#1

PHP Code:
if(dialogid == Dialog_test123)
    {
        new 
hash[130],pass[130];
        
hash "abcb2121e7f45cb1ea8918555ae075b71c696be433445cce9f70d8c425f677d3900bc76ffdfd276d7cfe58fe0429bd48e935a48df9724d79382da402e20c0d55";
        
WP_Hash(pass,sizeof(pass),inputtext);
        if(!
strcmp(pass,hash,false))
        {
            
SendClientMessage(playerid,-1,"test");    
        }
    } 
The prolem is that even if i put the correct password the dialog closes weahout sending the client message.
Reply


Messages In This Thread
Secret password on dialog response - by Ax3l123 - 15.06.2016, 12:37
Re: Secret password on dialog response - by Stinged - 15.06.2016, 12:50
Re: Secret password on dialog response - by xTURBOx - 15.06.2016, 13:06

Forum Jump:


Users browsing this thread: 1 Guest(s)