SA-MP Forums Archive
Warning strok - 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: Warning strok (/showthread.php?tid=68557)



Warning strok - RenisiL - 11.03.2009

Код:
D:\VISKAS~1\LTSERV~1\LTSERV~1\SAMP02~1\SAMP02~1\SAMP02~1\SAMP02~1\SAMP02~1.WIN\GAMEMO~1\GTA-FR~1.pwn(2535) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
why here warning


Re: Warning strok - Charles - 11.03.2009

Well that tells us nothing, paste some of the code so we can help you.


Re: Warning strok - Zoopaman - 11.03.2009

It's exactly what it says - you've defined strtok in your script, but never used it.


Re: Warning strok - MenaceX^ - 11.03.2009

Remove strtok and you won't get this warning, or just use it instead of removing it.


Re: Warning strok - Pyrokid - 11.03.2009

Remove strtok from the script.

In the future, if you ever wanna make commands like /givecash [playerid], use dcmd with sscanf instead of strtok.


Re: Warning strok - Antironix - 11.03.2009

1) Remove strtok
2) Make strtok a stock function
3) Use #pragma unused strtok


Re: Warning strok - RenisiL - 12.03.2009

thanks very