Help with PM.
#1

Hello. If I do /pm it said I dont have a Command.

But this is all I have. Can anyone help??

Код:
public OnPlayerPrivmsg(playerid, recieverid, text[])
{
  if(Muted[playerid] == 1) {
  SendClientMessage(playerid, COLOR_RED, "You are Muted. You Cannot Use This Command");
  return 0;
  }
	if(pmsoff[recieverid] == 1) {
	SendClientMessage(playerid, COLOR_YELLOW, "That player is not accepting Private Messages at this time");
  return 0;
  }
	SpamStrings[playerid] ++;
	new pmsg[128];
	new pmsg1[128]
	new priname[32],prinamee[32];
	GetPlayerName(playerid,priname, sizeof(priname));
	GetPlayerName(recieverid,prinamee, sizeof(prinamee));
	format(pmsg, sizeof(pmsg), "[PM]%s(%i): %s",priname,playerid,text); 
    ircSay(EchoConnection, EchoChan,pmsg);
    SendClientMessage(recieverid, COLOR_YELLOW, pmsg);
	format(pmsg1, sizeof(pmsg1), "[PM]%s(%i): %s",prinamee,recieverid,text);
    SendClientMessage(playerid, COLOR_YELLOW, pmsg1);
	
	return 1;
}
Reply


Messages In This Thread
Help with PM. - by ownboy - 22.02.2010, 18:41
Re: Help with PM. - by Torran - 22.02.2010, 18:43
Re: Help with PM. - by Lexuss - 22.02.2010, 18:44
Re: Help with PM. - by Onyx09 - 22.02.2010, 18:46
Re: Help with PM. - by Lexuss - 22.02.2010, 18:51
Re: Help with PM. - by ownboy - 22.02.2010, 19:23
Re: Help with PM. - by Lexuss - 22.02.2010, 19:30
Re: Help with PM. - by ownboy - 22.02.2010, 19:31
Re: Help with PM. - by ownboy - 22.02.2010, 21:05

Forum Jump:


Users browsing this thread: 1 Guest(s)