Help with command.
#2

Here's one.
That's what i use.

Код:
if(!strcmp(cmdtext, "/me", true, 3)) {
    if(cmdtext[3] == 0) {
      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(0xFFFF00AA, str);
    return 1;
  }
Reply


Messages In This Thread
Help with command. - by TKZ227 - 25.04.2010, 00:29
Re: Help with command. - by ruckfules99 - 25.04.2010, 00:35
Re: Help with command. - by TKZ227 - 25.04.2010, 00:36
Re: Help with command. - by MadeMan - 25.04.2010, 13:42

Forum Jump:


Users browsing this thread: 1 Guest(s)