22.09.2013, 13:18
how can i remove this faking udb_hash!
i remove this
and changed this
to this
and its fine but when i try to change this
to this
i got this faking error
i remove this
PHP код:
/*Credits to Dracoblue*/
stock udb_hash(buf[]) {
new length=strlen(buf);
new s1 = 1;
new s2 = 0;
new n;
for (n=0; n<length; n++)
{
s1 = (s1 + buf[n]) % 65521;
s2 = (s2 + s1) % 65521;
}
return (s2 << 16) + s1;
}
PHP код:
INI_WriteInt(File,"Password",udb_hash(inputtext));
PHP код:
INI_WriteString(File,"Password",inputtext);
PHP код:
if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
PHP код:
if(inputtext == PlayerInfo[playerid][pPass])
PHP код:
pwn(200) : error 033: array must be indexed (variable "inputtext")