sscanf 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)
+--- Thread: sscanf Errors (
/showthread.php?tid=426152)
sscanf Errors -
DerickClark - 28.03.2013
i got sscanf errors
how to fix dis?
Код:
Vip.pwn(108) : error 017: undefined symbol "sscanf"
Vip.pwn(164) : error 017: undefined symbol "sscanf"
Vip.pwn(162) : warning 203: symbol is never used: "id"
Vip.pwn(206) : error 017: undefined symbol "sscanf"
Vip.pwn(216) : error 017: undefined symbol "sscanf"
Vip.pwn(226) : error 017: undefined symbol "sscanf"
Vip.pwn(237) : error 017: undefined symbol "sscanf"
Vip.pwn(520) : error 021: symbol already defined: "strtok"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
7 Errors.
Re: sscanf Errors -
UberSocks - 28.03.2013
Add this to the top of your script:
Re: sscanf Errors -
DerickClark - 28.03.2013
Thanks but i got 1 error
Код:
Vip.pwn(520) : error 021: symbol already defined: "strtok"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: sscanf Errors -
vitorvlv - 28.03.2013
You have the sscanf, right? .-.
Re: sscanf Errors -
UberSocks - 28.03.2013
Can you post what you have on line 520?
Re: sscanf Errors -
DerickClark - 28.03.2013
{ that's on line 520
Re: sscanf Errors -
vitorvlv - 28.03.2013
Quote:
Originally Posted by DerickClark
Thanks but i got 1 error
Код:
Vip.pwn(520) : error 021: symbol already defined: "strtok"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
|
is because strok already been created on or include in GameMode, have to delete one of two to make it work.
Re: sscanf Errors -
UberSocks - 28.03.2013
Quote:
Originally Posted by DerickClark
{ that's on line 520
|
Ok. What about the section of code it's in? The error is specifying that you're trying to redefine 'strtok'. You could try commenting out the code.
Re: sscanf Errors -
DerickClark - 28.03.2013
Код:
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 1808 bytes
Code size: 51744 bytes
Data size: 40340 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4502 cells (18008 bytes)
Total requirements: 110276 bytes
how i remove?
Код:
Header size: 1784 bytes
Code size: 50888 bytes
Data size: 39748 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4502 cells (18008 bytes)
Total requirements: 108804 bytes
Re: sscanf Errors -
Scenario - 28.03.2013
I would be more inclined to give you help if you actually tried to do things on your own. I don't quite understand why you can't take 30 seconds of your life to search for solutions.
Every single problem you've ever posted has an easy solution- you're just not paying attention.
For the problem with the heap/stack size appearing after compiling the mode, you'll probably want to take a look at this topic:
https://sampforum.blast.hk/showthread.php?tid=55261
By the way, stop saying "dis" because you sound like a 2 year old just learning how to speak. Say "this" or just stop trying to speak at all.