SA-MP Forums Archive
i get theese 5 errors - 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: i get theese 5 errors (/showthread.php?tid=74657)



i get theese 5 errors - aspire5630 - 24.04.2009

c:\users\Jj\Desktop\My stunt server\pawno\include\dutils.inc(22) : error 017: undefined symbol "MAX_PLAYERS"
c:\users\Jj\Desktop\My stunt server\pawno\include\dutils.inc(233) : error 017: undefined symbol "fexist"
c:\users\Jj\Desktop\My stunt server\pawno\include\dutils.inc(233) : warning 215: expression has no effect
c:\users\Jj\Desktop\My stunt server\pawno\include\dutils.inc(233) : error 001: expected token: ";", but found ")"
c:\users\Jj\Desktop\My stunt server\pawno\include\dutils.inc(233) : error 029: invalid expression, assumed zero
c:\users\Jj\Desktop\My stunt server\pawno\include\dutils.inc(233) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.


I get them error,
i have added the long jump script in, its a fs realeased, heres my gm
on pastebin can anyone help?
http://pastebin.com/m2f4c6efd




Re: i get theese 5 errors - Joe Staff - 24.04.2009

put <dini> BELOW <a_samp>
no need for <core> and <float> as they are already added


Re: i get theese 5 errors - aspire5630 - 24.04.2009

Quote:
Originally Posted by SilentHuntR
put <dini> BELOW <a_samp>
no need for <core> and <float> as they are already added
Ok know i have 4 errors

C:\Users\Jj\Desktop\My stunt server\gamemodes\kontrolNEW.pwn(1687) : error 047: array sizes do not match, or destination array is too small
C:\Users\Jj\Desktop\My stunt server\gamemodes\kontrolNEW.pwn(1973) : warning 225: unreachable code
C:\Users\Jj\Desktop\My stunt server\gamemodes\kontrolNEW.pwn(2413) : error 025: function heading differs from prototype
C:\Users\Jj\Desktop\My stunt server\gamemodes\kontrolNEW.pwn(2413) : error 021: symbol already defined: "strtok"
C:\Users\Jj\Desktop\My stunt server\gamemodes\kontrolNEW.pwn(2423) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase





Re: i get theese 5 errors - Joe Staff - 24.04.2009

Then show us those lines? They're clearly errors on your part. =)


Re: i get theese 5 errors - aspire5630 - 24.04.2009

Quote:
Originally Posted by SilentHuntR
Then show us those lines? They're clearly errors on your part. =)
http://pastebin.com/m2f4c6efd



Re: i get theese 5 errors - aspire5630 - 25.04.2009

Can anyone Help?


Re: i get theese 5 errors - Bearfist - 25.04.2009

(2413) : error 021: symbol already defined: "strtok"

That means that you have the strtok function twice or more times

Bearfist


Re: i get theese 5 errors - aspire5630 - 25.04.2009

Quote:
Originally Posted by Bearfist
(2413) : error 021: symbol already defined: "strtok"

That means that you have the strtok function twice or more times

Bearfist
Soo what do i need to do? :S


Re: i get theese 5 errors - Bearfist - 25.04.2009

Try to delete your function strtok on line 2413, because you alredy defined it...so that function must be already in your script on another place

and then the error is away ^^..if not suscribe

Bearfist