SA-MP Forums Archive
Pawno 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: Pawno errors (/showthread.php?tid=214656)



Pawno errors - Anzhelov - 21.01.2011

Код:
../include/gl_common.inc(80) : error 021: symbol already defined: "strtok"
../include/gl_common.inc(95) : error 047: array sizes do not match, or destination array is too small
../include/gl_common.inc(139) : error 021: symbol already defined: "isNumeric"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
And here is the whole script.It's not mine, but when I found it in internet, anyway I got these errors ^^ how to fix them?
- http://pastebin.com/3j81AXyW


Re: Pawno errors - Hal - 21.01.2011

dont include gl_common unless you need it.
And if you do, you are going to have to remove strtok from the include an IsNumeric


Re: Pawno errors - Anzhelov - 21.01.2011

Can you explain me what exactly I have to do to fix the problems?


Re: Pawno errors - xir - 21.01.2011

Go to the folder where all your server files are, after go to include then open gl_common

Then find isNumeric and srtrok and delete them, save the file and compile

Note: Not the include folder in pawno/include


Re: Pawno errors - blackwave - 21.01.2011

Quote:
Originally Posted by Anzhelov
Посмотреть сообщение
Can you explain me what exactly I have to do to fix the problems?
Just delete these functions from your script, since they're already included on the gl_common

Quote:
Originally Posted by xir
Посмотреть сообщение
Go to the folder where all your server files are, after go to include then open gl_common

Then find isNumeric and srtrok and delete them, save the file and compile

Note: Not the include folder in pawno/include
I think this one wouldn't be the best way. Read above


Re: Pawno errors - Anzhelov - 21.01.2011

Everything done, but https://sampforum.blast.hk/showthread.php?tid=214674