07.03.2018, 18:02
First of all, im new, and im sorry if my english is bad:
So as the title says: I want a /changepassword command in ZCMD.
I searched for it but none of them worked, also to know i use udb_hash
Here it is:
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;
}
And i use this register/login system:
https://sampforum.blast.hk/showthread.php?tid=273088
If this is enough please, tell me how to do it, or give me the command that you created for me
(Or something like that)
And thanks anyway
So as the title says: I want a /changepassword command in ZCMD.
I searched for it but none of them worked, also to know i use udb_hash
Here it is:
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;
}
And i use this register/login system:
https://sampforum.blast.hk/showthread.php?tid=273088
If this is enough please, tell me how to do it, or give me the command that you created for me
(Or something like that)
And thanks anyway