sscanf Errors
#1

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.
Reply
#2

Add this to the top of your script:

pawn Код:
#include <sscanf2>
Reply
#3

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.
Reply
#4

You have the sscanf, right? .-.
Reply
#5

Can you post what you have on line 520?
Reply
#6

{ that's on line 520
Reply
#7

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.
Reply
#8

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.
Reply
#9

Код:
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
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)