SA-MP Forums Archive
Help please :) - 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: Help please :) (/showthread.php?tid=541114)



Help please :) - YanLanger - 09.10.2014

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;




Re: Help please :) - Rudy_ - 09.10.2014

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


Re: Help please :) - YanLanger - 09.10.2014

But how is it defined ? erhmm

#include or ? new ? or ?


Re: Help please :) - YanLanger - 09.10.2014

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


Re: Help please :) - Stinged - 09.10.2014

Maybe same dialog ID?


Re: Help please :) - YanLanger - 09.10.2014

Ahmm idk. but that bug made me laugh asf/

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


Re: Help please :) - Stinged - 09.10.2014

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...


Re: Help please :) - Rudy_ - 09.10.2014

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


Re: Help please :) - YanLanger - 09.10.2014

New scripter -______-


Re: Help please :) - YanLanger - 10.10.2014

Bump