Symbol never used "strtok" - 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: Symbol never used "strtok" (
/showthread.php?tid=153609)
Symbol never used "strtok" -
beyondless - 09.06.2010
Okay so me and a friend are scripting together an RP server called OverDrive Gaming. But when he compiles it tells him C:\Documents and Settings\HP_Administrator\Desktop\Test Server\gamemodes\ODGRP01.pwn(5442) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
I had him look through his .pwn but there isn't even a line 5442. So i said fuck it and sent him my .pwn and .amx and he STILL gets the error. How can we fix this?
Re: Symbol never used "strtok" - [L3th4l] - 09.06.2010
Check your includes.. 1 of them must have it
Re: Symbol never used "strtok" -
beyondless - 09.06.2010
I resent him ALL of my includes and he replaced all of them and he still gets that
Re: Symbol never used "strtok" -
Fj0rtizFredde - 09.06.2010
You have strtok in your script somehere (stock strtok(...) ) and you are not using it.. like
pawn Код:
new something;
something = strtok(idx,cmdtext);
//You dont have something like this!
Well you get the point :P
Re: Symbol never used "strtok" -
Fj0rtizFredde - 09.06.2010
Opps.. Sorry for the dubble post
Re: Symbol never used "strtok" -
beyondless - 09.06.2010
But why would mine work and his wouldn't?? We have the exact same .amx and .pwn he didn't modify it
Re: Symbol never used "strtok" -
Fj0rtizFredde - 09.06.2010
Hmm.. Could be the includes.. Are you sure that both of you got same includes? even a_samp? :P