04.10.2014, 22:51
you have defined in OnPlayerText Muted?
This is something you make him an example and as you can !!
pawn Код:
if(PlayerInfo[playerid][Muted] == 1)
{
PlayerInfo[playerid][MuteWarnings]++;
new string[128];
if(PlayerInfo[playerid][MuteWarnings] < ServerInfo[MaxMuteWarnings]) {
format(string, sizeof(string),"** You are muted, if you keep talking you shall be kicked. [%d/%d]", PlayerInfo[playerid][MuteWarnings], ServerInfo[MaxMuteWarnings] );
SendClientMessage(playerid,red,string);
} else {
format(string, sizeof(string),"*** %s [%d] as been muted Kicked for exceeding!", pName(playerid), playerid);
SendClientMessageToAll(red,string);
SaveToFile("KickLog",string);
SetTimerEx("DarKick", 300,0,"d",playerid);
} return 0;
}