Unkown Command
#2

Код:
CMD:am(playerid, params[])
{
	if(pInfo[playerid][pAMMute] == 0)
	{
		new text, str[128];
		if(sscanf(params, "s[128]", text)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /am [text]");
		format(str, sizeof(str), "%s [ID: %i] : %s", GetName(playerid), playerid, text);
		SendClientMessageToAdmins(COLOR_ORANGE, str, 1);
		SendClientMessage(playerid, COLOR_ORANGE, "Admin message sent.");
                return 1;
	}
	else return SendClientMessage(playerid, COLOR_ORANGE, "You have been muted from using am.");
	return 1;
}
Rep+ if i helped you
Reply


Messages In This Thread
Unkown Command - by Blademaster680 - 26.07.2014, 00:03
Re : Unkown Command - by SlimDkhili - 26.07.2014, 02:38
Re: Re : Unkown Command - by Smileys - 26.07.2014, 07:03
Re: Unkown Command - by SHE790 - 26.07.2014, 07:05
Re : Unkown Command - by SlimDkhili - 26.07.2014, 07:58
Re: Unkown Command - by Konstantinos - 26.07.2014, 12:07

Forum Jump:


Users browsing this thread: 1 Guest(s)