Command will execute, but returns INVALID COMMAND!
#3

Repped, I also need help with this
pawn Код:
if(strcmp(cmd, "/help", true) == 0)
    {
        tmp = strtok(cmdtext, idx);
        if(strlen(tmp) == 0) return SendClientMessage(playerid, ERROR, "Use: /help [MESSAGE]");
        new string[250];
        format(string, sizeof(string), "[ ! ] %s [ID:%d] asks : %s", name, playerid, strlen(tmp));
        SendClientMessageToAdmins(string);
        return 1;
    }
It will come up as "18240 asks: ELP E LE!" for the command /help HELP ME PLEASE!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)