A error
#5

From the wiki

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/me", true, 3)) // 3 is the length of /me
    {
        if(!cmdtext[3])return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /me [action]");
        new str[128];
        GetPlayerName(playerid, str, sizeof(str));
        format(str, sizeof(str), "* %s %s", str, cmdtext[4]);
        SendClientMessageToAll(0xFFFF00AA, str);
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
A error - by marinov - 30.11.2010, 21:49
Re: A error - by Miguel - 30.11.2010, 21:52
Re: A error - by marinov - 30.11.2010, 21:54
Re: A error - by marinov - 30.11.2010, 21:57
Re: A error - by willsuckformoney - 30.11.2010, 21:59
Re: A error - by AzTeCaS - 30.11.2010, 22:01
Re: A error - by 6d - 30.11.2010, 22:03
Re: A error - by marinov - 30.11.2010, 22:04

Forum Jump:


Users browsing this thread: 2 Guest(s)