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

Help STRCMP

$
0
0
I have this code
Code:

if(dialogid == DIALOG_LOGIN && response == 1)
        {
            new file[256], pname[MAX_PLAYER_NAME];
            new pass[256];
                GetPlayerName(playerid, pname, sizeof(pname));
            format(file, sizeof(file), "Accounts/%.txt", pname);
                pass = dini_Get(file, "Password");
                if(strcmp(inputtext,pass, false) !=0 ) return ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "Login Information", "Please Enter Your Password, You Have Entered Wrong Password", "Enter", "Quit");

When I type WRONG password its dont show me error dialog , its continue normal

Viewing all articles
Browse latest Browse all 18226

Trending Articles



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