udb_hash symbol already defined
#1

Hello,

i want to ask you that how can i fix it ?

Код:
52) : error 021: symbol already defined: "udb_hash"
and the line of code 52

Код:
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;
}
Thank you if you hepled me
Reply


Messages In This Thread
udb_hash symbol already defined - by kyriakos587 - 26.06.2015, 09:23
Re: udb_hash symbol already defined - by Shetch - 26.06.2015, 09:27
Re: udb_hash symbol already defined - by kyriakos587 - 26.06.2015, 09:29
Re: udb_hash symbol already defined - by Youssef221 - 26.06.2015, 09:32
Re: udb_hash symbol already defined - by kyriakos587 - 26.06.2015, 09:43
Re: udb_hash symbol already defined - by Youssef221 - 26.06.2015, 09:49
Re: udb_hash symbol already defined - by kyriakos587 - 26.06.2015, 09:53
Re: udb_hash symbol already defined - by kyriakos587 - 26.06.2015, 09:57
Re: udb_hash symbol already defined - by Youssef221 - 26.06.2015, 10:01
Re: udb_hash symbol already defined - by kyriakos587 - 26.06.2015, 10:03

Forum Jump:


Users browsing this thread: 1 Guest(s)