3 warnings whats wrong with this code?
#5

You have defined string here, on line 59:
pawn Код:
new string[100];
As a global variable. That means it will be defined and work anywhere in the script.

But on line 464, your defining it again:
pawn Код:
new string[50];
And again, in strtok:
pawn Код:
strtok(const string[], &index)
Use this:
http://pastebin.com/m66ae1bdf
Reply


Messages In This Thread
3 warnings whats wrong with this code? - by killdahobo99 - 31.07.2009, 19:47
Re: 3 warnings whats wrong with this code? - by zombie13333 - 01.08.2009, 00:43
Re: 3 warnings whats wrong with this code? - by [Hun]Ricsi - 01.08.2009, 00:48
Re: 3 warnings whats wrong with this code? - by Correlli - 01.08.2009, 00:49
Re: 3 warnings whats wrong with this code? - by Lazarus - 01.08.2009, 00:53

Forum Jump:


Users browsing this thread: 1 Guest(s)