04.10.2014, 23:00
pawn Код:
if(PlayerInfo[playerid][Muted] == 1)
{
PlayerInfo[playerid][MuteWarnings]++;
if(PlayerInfo[playerid][MuteWarnings] < 5)
FormatMSG(playerid,COLOR_ULTRARED, "You are muted, if you continue to speak you will be kicked. ({33CCFF}%d{FF0000}/5)", PlayerInfo[playerid][MuteWarnings]);
else {
SendClientMessage(playerid,COLOR_ULTRARED, "You have been warned! Now you have been kicked" );
FormatLog("KickLog", "*** %s(%d) have been auto-kicked. Reason: Exceding max mute warnings !", PlayerName( playerid ), playerid );
Kick(playerid);
} return 0;
}
can you tell me as you defined it?
pawn Код:
PlayerInfo[Player][PMutes]++;
and because you put return (0);?