message
#2

pawn Код:
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
message - by shoru93 - 10.06.2010, 09:31
Re: message - by ViruZZzZ_ChiLLL - 10.06.2010, 09:37

Forum Jump:


Users browsing this thread: 1 Guest(s)