Help please :)
#1

Hello guys. anyways how to fix this ?
PHP код:
C:\Users\yan\Desktop\Cops And Robbers\gamemodes\LSCNR.pwn(353) : error 021symbol already defined"udb_hash"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
1 Error

PHP код:
stock udb_hash(buf[]) {
    new 
length=strlen(buf);
    new 
s1 1;
    new 
s2 0;
    new 
n;
    for (
n=0n<lengthn++)
    {
       
s1 = (s1 buf[n]) % 65521;
       
s2 = (s2 s1)     % 65521;
    }
    return (
s2 << 16) + s1;

Reply
#2

Isn't this self explaining? it's already defined, no need to re-defined it.
Reply
#3

But how is it defined ? erhmm

#include or ? new ? or ?
Reply
#4

oh and if i delete it it compiles but 1 problem..

It works perfectly but let's say i type /cmds.. and press exit it says server closed connection..

Like i pressed on register "Exit"... lmao
Reply
#5

Maybe same dialog ID?
Reply
#6

Ahmm idk. but that bug made me laugh asf/

It's like i pressed "Exit" On login but it was on cmds..
Reply
#7

Quote:
Originally Posted by YanLanger
Посмотреть сообщение
Ahmm idk
You don't know? Then who does?
You're the only one that has access to the script...
Reply
#8

That's why i stopped replying, From his messages looks like he's just increasing post counts
Reply
#9

New scripter -______-
Reply
#10

Bump
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)