Command is acting weird
#1

Ok i found this Local chat inc, with the topic the guy gave this code
pawn Код:
if(strcmp(cmdtext, "/me", true, 3) == 0)
    {
    if(!cmdtext[3])return SendClientMessage(playerid, COLOR_RED, "USAGE: /me [text]");
    new str[128];
    GetPlayerName(playerid, str, sizeof(str));
    format(str, sizeof(str), "*%s %s", str, cmdtext[4]);
    SendLocalMessage(playerid, COLOR_PURPLE, 7, str);
    return 1;
    }
works fine but when i edit only the "/me" to "/b" it doesn't work :S
Reply


Messages In This Thread
Command is acting weird - by (Jeff) - 05.02.2010, 16:30
Re: Command is acting weird - by LuxurioN™ - 05.02.2010, 16:39
Re: Command is acting weird - by hvampire - 05.02.2010, 16:53

Forum Jump:


Users browsing this thread: 1 Guest(s)