5 errors
#5

Pff, take this one:
pawn Код:
if(!strcmp(cmdtext, "/me", true, 3) && cmdtext[3] == ' ')
{
    if(strlen(cmdtext) == 4)
    {
        SendClientMessage(playerid, 0xFF0000FF, "USAGE: /me [action]");
        return 1;
    }
    new str[128];
    GetPlayerName(playerid, str, sizeof(str));
    format(str, sizeof(str), "* %s %s", str, cmdtext[4]);
    SendClientMessageToAll(GetPlayerColor(playerid), str);
    return 1;
}
Cheers!
Reply


Messages In This Thread
5 errors - by davelord - 02.04.2011, 11:00
Re: 5 errors - by iJumbo - 02.04.2011, 11:12
Re: 5 errors - by Jeffry - 02.04.2011, 11:14
Re: 5 errors - by davelord - 02.04.2011, 11:15
Re: 5 errors - by Jeffry - 02.04.2011, 11:22

Forum Jump:


Users browsing this thread: 2 Guest(s)