Some Error ...
#2

If you started indenting your code you would see where all of the issues are immediately. Take the first two lines for example:

pawn Код:
if (strcmp("/afk", cmdtext, true, 10) == 0){
    }
Don't you see a problem there? The code to be execute when that if statement is true is completely empty, the same is true for other commands down the line.

I recommend that you read the getting started on programming manual over at the official PAWN site. Or else find a tutorial elsewhere which teaches you the basics!
Reply


Messages In This Thread
Some Error ... - by Eiy Mard - 15.06.2012, 16:49
Re: Some Error ... - by JaTochNietDan - 15.06.2012, 16:55
Re: Some Error ... - by Eiy Mard - 15.06.2012, 17:14

Forum Jump:


Users browsing this thread: 1 Guest(s)