Errors: Strtok already defined?
#1

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.
Reply
#2

You use an include that gots strtok defined.
Reply
#3

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

I did and it gave me the other 25 errors
Reply
#5

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

Make that in your gamemode top
Quote:

#pragma unused strtok

and then is all okey
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)