SA-MP Forums Archive
Errors: Strtok already defined? - 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: Errors: Strtok already defined? (/showthread.php?tid=212110)



Errors: Strtok already defined? - Mr. Despair - 16.01.2011

I keep getting these errors. I started getting them when I deleted /buyhouse then I saw these errors after deleting it, so I put /buyhouse back, but I still keep getting these errors. I even replaced the gamemode with a backup of the same gamemode and it still give me these errors.

Код:
C:\Users\Robert\Desktop\World Wide Roleplay windows\gamemodes\WWRP.pwn(15255) : warning 204: symbol is assigned a value that is never used: "vowned"
windows\gamemodes\WWRP.pwn(17191) : error 021: symbol already defined: "strtok"
windows\gamemodes\WWRP.pwn(17206) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(18274) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(18331) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(18338) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(18411) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(18556) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(18586) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(18616) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(18734) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(18949) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(18958) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(18986) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(19010) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(20223) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(20574) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(20583) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(20652) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(20661) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(20806) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(20844) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(20892) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(21082) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(21147) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(21155) : error 047: array sizes do not match, or destination array is too small
windows\gamemodes\WWRP.pwn(21244) : error 047: array sizes do not match, or destination array is too small

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.



Re: Errors: Strtok already defined? - Franck_ - 16.01.2011

You use an include that gots strtok defined.


Re: Errors: Strtok already defined? - Typhome - 16.01.2011

Find "strtok" (Ctrl + F) and delete it.


Re: Errors: Strtok already defined? - Mr. Despair - 16.01.2011

I did and it gave me the other 25 errors


Re: Errors: Strtok already defined? - Mr. Despair - 16.01.2011

Anyone have any soltuions? I've deleted Strtok and it gives all the errors except Strtok


Re: Errors: Strtok already defined? - Janek17 - 22.01.2011

Make that in your gamemode top
Quote:

#pragma unused strtok

and then is all okey