Mute commad bug
#4

pawn Код:
public OnPlayerText(playerid, text[])
{
new string[128];
if(PlayerInfo[playerid][Muted] == 1)
{
SendClientMessage(playerid,COLOR_RED,"You are muted, you are not allowed to talk!");
return 0;
}
   else
   {
format(string,sizeof(string),"{%06x}%s (%d): {FFFFFF}%s",GetPlayerColor(playerid), PlayerName(playerid), playerid, text);
SendClientMessageToAll(-1, string);
return 0;
}
Reply


Messages In This Thread
Mute commad bug - by Axey187 - 12.01.2015, 15:59
Re: Mute commad bug - by Ironboy - 12.01.2015, 16:08
Re: Mute commad bug - by HY - 12.01.2015, 16:12
Re: Mute commad bug - by Clad - 12.01.2015, 16:20

Forum Jump:


Users browsing this thread: 1 Guest(s)