Help PLS .INC
#1

Hey
Im Am Editing My *.PWN And I Always Get This Error :
Код:
C:\Documents and Settings\Mariusz\Pulpit\TeleEDITSUbyFur.pwn(5147) : error 021: symbol already defined: "strtok"
C:\Documents and Settings\Mariusz\Pulpit\TeleEDITSUbyFur.pwn(5197) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Can Somebody Help Me Thanks
Reply
#2

ok, you got strtok double in your script, so remove one copy of it, and than second error is because you never used strtok in any function, you can HIDE this problem by using #pragma unused strtok
Reply
#3

How To Put This #pragma Thing or even where?
Reply
#4

no don't hide it, that'll just cause problems later on and is not good. Delete the strtok code beinning from line 5147 of your script.
Reply
#5

I Did And I Am Getting This Warning :
Код:
C:\Documents and Settings\Mariusz\Pulpit\TeleEDITSUbyFur.pwn(5178) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Reply
#6

thats just a warning, read the message, its telling you that you never even use strtok.
So on line 5178 you probably have something like:
pawn Код:
new strtok;
delete that.
Reply
#7

there is a problem i dont have line 5178...
Reply
#8

It says that because you never used it in your script, search (ctrl + f) for strtok, and comment it out/delete it
Reply
#9

Ok I Have Still 1 Warning But Now I Have Other BIG Problem..

When I Run My Server, Going To My Server...
GTA SA Loaded And After A While Im Getting? Don't Send Error... And My SAMP Server Turn OFF
Anyone Can Help me ?
Reply
#10

Bug in your script that make the server crash.
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)