mute cmd help
#8

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;
}
I see all good friend, not because the player speaks

can you tell me as you defined it?

pawn Код:
PlayerInfo[Player][PMutes]++;
if not delete it

and because you put return (0);?
Reply


Messages In This Thread
mute cmd help - by Dangjai - 04.10.2014, 22:23
Respuesta: mute cmd help - by !R1Ch@rD! - 04.10.2014, 22:32
Re: Respuesta: mute cmd help - by Dangjai - 04.10.2014, 22:42
Respuesta: Re: Respuesta: mute cmd help - by !R1Ch@rD! - 04.10.2014, 22:43
Re: Respuesta: Re: Respuesta: mute cmd help - by Dangjai - 04.10.2014, 22:47
Respuesta: Re: Respuesta: Re: Respuesta: mute cmd help - by !R1Ch@rD! - 04.10.2014, 22:51
Re: mute cmd help - by Dangjai - 04.10.2014, 22:55
Respuesta: mute cmd help - by !R1Ch@rD! - 04.10.2014, 23:00
Re: mute cmd help - by Dangjai - 04.10.2014, 23:08
Re: mute cmd help - by MasonSFW - 05.10.2014, 01:24

Forum Jump:


Users browsing this thread: 2 Guest(s)