/mute and /unmute
#5

Код:
CMD:mute(playerid,params[])
{
                if(IsPlayerAdmin(playerid))
                {
					new Msg[128], Name[24], OtherPlayer;
					if (sscanf(params, "u", OtherPlayer)) return SCM(playerid, CRVENA, "usage: /mute [playerid");
					GetPlayerName(OtherPlayer, Name, sizeof(Name));
					SetPVarInt(OtherPlayer,"Muted",1);
					format(Msg, 128, "player %s is muted.", Name);
					SCMTA(-1, Msg);
				}
				else SCM(playerid, -1, "you arent admin !");
	return 1;
}
Reply


Messages In This Thread
/mute and /unmute - by mittukuttan - 24.02.2013, 14:46
Re: /mute and /unmute - by jiwan - 24.02.2013, 15:04
Re: /mute and /unmute - by GoldZoroGrab - 24.02.2013, 15:47
Re: /mute and /unmute - by mittukuttan - 25.02.2013, 07:54
Re: /mute and /unmute - by Blaeks - 25.02.2013, 08:43

Forum Jump:


Users browsing this thread: 1 Guest(s)