/me command
#5

You must have the zcmd include
pawn Code:
COMMAND:me(playerid, params[])
{
    if(isnull(params)) return SendClientMessage(playerid, 0xFF0000AA, "Usage: /me [text]");
    {
        new string[128], name[24];
        GetPlayerName(playerid, name, sizeof(name));
        format(string, sizeof(string), "%s: %s", name, params);
        SendClientMessageToAll(GetPlayerColor(playerid), string);
    }
    return 1;
}
Reply


Messages In This Thread
/me command - by Rabbayazza - 10.08.2011, 23:20
AW: /me command - by Nero_3D - 10.08.2011, 23:35
Re: /me command - by Zonoya - 10.08.2011, 23:38
Re: /me command - by Rabbayazza - 11.08.2011, 01:18
Re: /me command - by Laronic - 11.08.2011, 01:58
Re: /me command - by Rabbayazza - 11.08.2011, 02:01
Re: /me command - by Laronic - 11.08.2011, 02:04
Re: /me command - by Kush - 11.08.2011, 02:04

Forum Jump:


Users browsing this thread: 1 Guest(s)