Problem of password - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problem of password (
/showthread.php?tid=280007)
Problem of password -
TomyZ - 30.08.2011
Hello,
Today I have create my waiter(server) DM in MySQL, I made a system of account and password, but when I bring in a space then entered, I arrive in me connected while my password was in no way that.
Thus I ask you of the help(assistant) for solved for this small annoying problem, I hope that I was well understood.
Kind regards, Komo.
( (I am not English, thus not saddened for the spelling)
Re: Problem of password -
TomyZ - 30.08.2011
Up please, is urgent.
Re: Problem of password -
=WoR=Varth - 30.08.2011
But your topic isn't the most urgent.
Stop bumping before 48 hours.
https://sampforum.blast.hk/showthread.php?tid=279604
Re: Problem of password -
iPLEOMAX - 30.08.2011
It's hard to understand, but "strcmp" is the part people generally make mistakes.
Try this:
pawn Code:
if ( strlen(password) > 4 && !strcmp(PlayerInfo[playerid][pKey],password,false) )
I'm quite sleepy atm, sorry If I replied with something useless.