"Unknown Command?"
#9

There's no need, I've found your problem.
pawn Код:
new cmd[256], idx, file[128], tmp[256], tmp2[256];
cmd = strtok(cmdtext, idx);
This code should be under OnPlayerCommandText, not the /register command itself. (Same goes to the /login command)
Then, you'll also need to change your command lines to
pawn Код:
if(strcmp(cmd, "/register", true) == 0)
if(strcmp(cmd, "/login", true) == 0)
And it should be fixed, try it
Reply


Messages In This Thread
"Unknown Command?" - by jameskmonger - 13.01.2010, 16:36
Re: "Unknown Command?" - by RyDeR` - 13.01.2010, 17:46
Re: "Unknown Command?" - by jameskmonger - 13.01.2010, 17:48
Re: "Unknown Command?" - by RyDeR` - 13.01.2010, 17:52
Re: "Unknown Command?" - by Calgon - 13.01.2010, 18:34
Re: "Unknown Command?" - by jameskmonger - 13.01.2010, 18:53
Re: "Unknown Command?" - by Grim_ - 13.01.2010, 19:08
Re: "Unknown Command?" - by jameskmonger - 13.01.2010, 19:10
Re: "Unknown Command?" - by Grim_ - 13.01.2010, 19:13
Re: "Unknown Command?" - by jameskmonger - 13.01.2010, 19:17

Forum Jump:


Users browsing this thread: 1 Guest(s)