SA-MP Forums Archive
JunkBuster & My GM = :O! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: JunkBuster & My GM = :O! (/showthread.php?tid=191147)



JunkBuster & My GM = :O! - <Weponz> - 18.11.2010

Please help i cant get JunkBuster working on my GM :S

I get these errors:

pawn Код:
C:\Users\Weponz\Desktop\Server Files\pawno\include\dutils.inc(35) : error 021: symbol already defined: "isNumeric"
C:\Users\Weponz\Desktop\Server Files\pawno\include\dutils.inc(374) : error 025: function heading differs from prototype
C:\Users\Weponz\Desktop\Server Files\pawno\include\dutils.inc(375) : error 021: symbol already defined: "strtok"
C:\Users\Weponz\Desktop\Server Files\pawno\include\dutils.inc(390) : error 047: array sizes do not match, or destination array is too small
C:\Users\Weponz\Desktop\Server Files\gamemodes\vegascnr.pwn(9) : warning 201: redefinition of constant/macro (symbol "GREEN")
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Please help its trippn me right out :S

Thanks in advanced


Re: JunkBuster & My GM = :O! - Lorenc_ - 18.11.2010

Look inside the dutils include and try remove:

IsNumeric function
strtok function


Should work after you do that.


Re: JunkBuster & My GM = :O! - <Weponz> - 18.11.2010

Does Dutils work with this? #include "../include/gl_common.inc"

Cause i dont have dutils include, But when i add dutils i get these errors :S:

pawn Код:
../include/gl_common.inc(75) : error 021: symbol already defined: "strtok"
../include/gl_common.inc(90) : error 047: array sizes do not match, or destination array is too small
../include/gl_common.inc(134) : error 021: symbol already defined: "isNumeric"
C:\Users\Weponz\Desktop\Server Files\gamemodes\vegascnr.pwn(10) : warning 201: redefinition of constant/macro (symbol "GREEN")
C:\Users\Weponz\Desktop\Server Files\gamemodes\vegascnr.pwn(2072) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Then when i remove gl_common i get this:

pawn Код:
C:\Users\Weponz\Desktop\Server Files\gamemodes\vegascnr.pwn(9) : warning 201: redefinition of constant/macro (symbol "GREEN")
C:\Users\Weponz\Desktop\Server Files\gamemodes\vegascnr.pwn(2071) : error 047: array sizes do not match, or destination array is too small
C:\Users\Weponz\Desktop\Server Files\gamemodes\vegascnr.pwn(2081) : error 017: undefined symbol "strrest"
C:\Users\Weponz\Desktop\Server Files\gamemodes\vegascnr.pwn(2081) : error 033: array must be indexed (variable "gMessage")
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.
Any ideas :S


Re: JunkBuster & My GM = :O! - Lorenc_ - 18.11.2010

What else is there? Just that you removed?


Re: JunkBuster & My GM = :O! - <Weponz> - 18.11.2010

all my includes not including JunkBuster which makes the errors:

pawn Код:
#include <a_samp>
#include <dprop>
#include <CheckpointManager>
#include "../include/gl_common.inc"
#include "../include/a_objects.inc"



Re: JunkBuster & My GM = :O! - Lorenc_ - 18.11.2010

try remove these,

pawn Код:
#include "../include/gl_common.inc"
#include "../include/a_objects.inc"