Pawno errors
#1

Код:
../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
Reply
#2

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
Reply
#3

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

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
Reply
#5

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
Reply
#6

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


Forum Jump:


Users browsing this thread: 1 Guest(s)