Pawno Command Help
#4

/me

Код:
public OnPlayerCommandText(playerid, cmdtext[]) 
{
  if(!strcmp(cmdtext, "/me", true, 3)) 
  {
    if(!cmdtext[3])return SendClientMessage(playerid, 0xFF0000FF, "ERROR: 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
Pawno Command Help - by Stephen_Deville - 12.12.2010, 21:39
Re: Pawno Command Help - by GoldenM4 - 22.12.2010, 02:26
Re: Pawno Command Help - by GoldenM4 - 22.12.2010, 02:29
Re: Pawno Command Help - by GoldenM4 - 22.12.2010, 02:37
Re: Pawno Command Help - by Leeroy. - 22.12.2010, 04:46
Re: Pawno Command Help - by Darklom - 22.12.2010, 05:25
Re: Pawno Command Help - by GoldenM4 - 22.12.2010, 15:11

Forum Jump:


Users browsing this thread: 2 Guest(s)