Help over /d
#8

Код:
CMD:d(playerid, params[])
{
	new string[128];
   	if(!IsACop(playerid) && !IsAGov(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an SAPD Oficer/Government Official.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/d)epartments radio [text]");
	if(AntiAdv(playerid, params)) return 1;
	format(string, sizeof(string), "**%s", params);
	foreach(Player, i)
	{
	    if(IsACop(i) || IsAGov(i))
	    {
			SendClientMessage(i, COLOR_DEPTRADIO, string);
	    }
	}
	return 1;
}
Reply


Messages In This Thread
Help over /d - by xXx:FireBlade - 16.09.2012, 17:05
Re: Help over /d - by seanny - 16.09.2012, 17:09
Re: Help over /d - by xXx:FireBlade - 16.09.2012, 17:33
Re: Help over /d - by zDevon - 16.09.2012, 17:39
Re: Help over /d - by xXx:FireBlade - 16.09.2012, 17:41
Re: Help over /d - by xXx:FireBlade - 16.09.2012, 18:00
Re: Help over /d - by xXx:FireBlade - 16.09.2012, 21:41
Re: Help over /d - by trapstar2020 - 16.09.2012, 22:07

Forum Jump:


Users browsing this thread: 2 Guest(s)