Warning strok
#1

Код:
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
Reply
#2

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

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

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

Remove strtok from the script.

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

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

thanks very
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)