Mute- command
#6

pawn Код:
if(!strcmp(cmd,"/mute",true))
{
  cmd=strtok(cmdtext,idx);
  if(!strlen(cmd)) return SendClientMessage(playerid,color,"USAGE: /mute [playerid/name]");
  id=ReturnUser(cmd);
  if(!IsPlayerConnected(id)) return SendClientMessage(palyerid,color,"Invalid player ID.");
  AccountInfo[id][mute]=1;
  format(string,sizeof(string)," You muted %s.",namevariebleofid");
  SendClientMessage(playerid,color,string);
  format(string,sizeof(string),"
%s muted you.",namevariebleofplayerid");
  SendClientMessage(playerid,color,string);
  return 1;
}
Reply


Messages In This Thread
Mute- command - by Jakku - 18.04.2009, 10:13
Re: Mute- command - by ReV. - 18.04.2009, 10:20
Re: Mute- command - by Rks25 - 18.04.2009, 10:57
Re: Mute- command - by Jakku - 18.04.2009, 11:17
Re: Mute- command - by Rks25 - 18.04.2009, 11:18
Re: Mute- command - by MenaceX^ - 18.04.2009, 11:24
Re: Mute- command - by ReV. - 19.04.2009, 02:04
Re: Mute- command - by Grim_ - 19.04.2009, 02:27
Re: Mute- command - by Jakku - 19.04.2009, 07:15
Re: Mute- command - by Grim_ - 19.04.2009, 07:17

Forum Jump:


Users browsing this thread: 9 Guest(s)