Sscanf2 question.
#7

Quote:
Originally Posted by Steven82
Посмотреть сообщение
Why are you using ! instead of doing that just make the code like this.

pawn Код:
if(strcmp(opt, "location", true))
{
 // Code Here
 return // your code
}
That ! check's if the strings are the same, because strcmp returns 0 if their are.

And there's nothing wrong with strcmp or with any of my code, it's something with sscanf.

I guess i'll wait for someone who knows it a little better...

But thanks for trying.
Reply


Messages In This Thread
Sscanf2 question. - by Whizion - 23.01.2011, 03:49
Re: Sscanf2 question. - by Fool - 23.01.2011, 03:53
Re: Sscanf2 question. - by Whizion - 23.01.2011, 03:58
Re: Sscanf2 question. - by Steven82 - 23.01.2011, 04:01
Re: Sscanf2 question. - by Whizion - 23.01.2011, 04:03
Re: Sscanf2 question. - by Steven82 - 23.01.2011, 04:09
Re: Sscanf2 question. - by Whizion - 23.01.2011, 04:22
Re: Sscanf2 question. - by Whizion - 23.01.2011, 08:20
Re: Sscanf2 question. - by Whizion - 23.01.2011, 09:52
Re: Sscanf2 question. - by Mike Garber - 23.01.2011, 13:52

Forum Jump:


Users browsing this thread: 2 Guest(s)