/me command
#2

I hope this help
Код:
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
/me command - by oliverrud - 20.06.2010, 20:18
Re: /me command - by 2kool4skool - 20.06.2010, 20:21
Re: /me command - by oliverrud - 20.06.2010, 21:49
Re: /me command - by Antonio [G-RP] - 20.06.2010, 21:51
Re: /me command - by oliverrud - 20.06.2010, 21:54
Re: /me command - by AK47KILLA - 20.06.2010, 21:57
Re: /me command - by oliverrud - 20.06.2010, 21:58
Re: /me command - by AK47KILLA - 20.06.2010, 22:00

Forum Jump:


Users browsing this thread: 1 Guest(s)