[HELP] Server Unknown Command?!
#2

add "return 1;" to the end of each of these commands, eg:

pawn Код:
if (strcmp("/afk", cmdtext, true, 4) == 0)
    {
        new str[256], pname[256];
        GetPlayerName(playerid, pname, 256);
        format(str, 256, "%s is now away from keyboard!", pname, cmdtext[4]);
        TogglePlayerControllable(playerid, false);
        SendClientMessageToAll(0xFF8000FF, str);
        return 1;
    }
Reply


Messages In This Thread
[HELP] Server Unknown Command?! - by FreddeN - 02.06.2009, 19:26
Re: [HELP] Server Unknown Command?! - by Weirdosport - 02.06.2009, 19:37
Re: [HELP] Server Unknown Command?! - by ziomal396 - 02.06.2009, 19:38

Forum Jump:


Users browsing this thread: 1 Guest(s)