SA-MP Forums Archive
[Solved Thanks to Don Correlli]One Warning... - 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: [Solved Thanks to Don Correlli]One Warning... (/showthread.php?tid=138941)



[Solved Thanks to Don Correlli]One Warning... - Rockstar23 - 03.04.2010

Ok, so I was creating a new script for my server, all good except I get one warning
Код:
E:\Program Files\Rockstar Games\SA-MP Server\gamemodes\cgms.pwn(507) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
And when I goto that line there is nothing there, infact there is no line 507.

I also dont have strtok in my script anywhere.


Re: One Warning... - Correlli - 03.04.2010

It's located in one of your include files. Delete it if you're not using it or use this:
pawn Код:
#pragma unused strtok



Re: One Warning... - Rockstar23 - 03.04.2010

Quote:
Originally Posted by Don Correlli
It's located in one of your include files. Delete it if you're not using it or use this:
pawn Код:
#pragma unused strtok
Thanks Don! Worked like a charm.