[Help] RP commands /me /do
#7

Why long /me? Use:
pawn Code:
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;
    }
Reply


Messages In This Thread
[Help] RP commands /me /do - by dovys11 - 24.06.2010, 08:33
Re: [Help] RP commands /me /do - by TouR - 24.06.2010, 08:36
Re : [Help] RP commands /me /do - by Amine_Mejrhirrou - 23.01.2011, 15:03
Re: [Help] RP commands /me /do - by Not available - 23.01.2011, 15:06
Re : [Help] RP commands /me /do - by Amine_Mejrhirrou - 23.01.2011, 19:55
Re: [Help] RP commands /me /do - by Elviss - 23.01.2011, 20:04
Re: [Help] RP commands /me /do - by bestr32 - 03.04.2011, 17:26
Re: [Help] RP commands /me /do - by bestr32 - 03.04.2011, 17:28
Re: [Help] RP commands /me /do - by Luis- - 03.04.2011, 17:29
Re: [Help] RP commands /me /do - by Mean - 03.04.2011, 17:34

Forum Jump:


Users browsing this thread: 1 Guest(s)