Password problem
#4

Strcmp returns 0 (false) if the strings match. Source: https://sampwiki.blast.hk/wiki/Strcmp

Therefore, this:

pawn Код:
if(strcmp(inputtext,pInfo[playerid][Pass]) == 0)
Should become:

pawn Код:
if(!strcmp(inputtext,pInfo[playerid][Pass], false))
Reply


Messages In This Thread
Password problem - by Noles2197 - 18.02.2013, 02:20
Re: Password problem - by Glad2BeHere - 18.02.2013, 02:23
Re: Password problem - by JJB562 - 18.02.2013, 02:36
Re: Password problem - by Scenario - 18.02.2013, 02:59
Re: Password problem - by ReneG - 18.02.2013, 03:02

Forum Jump:


Users browsing this thread: 1 Guest(s)