string spamming (+rep)
#1

Hi, Whats wrong with this code?

Код:
CMD:cc(playerid, params[])
{
	foreach(Player, i)
	{
		if(PlayerInfo[playerid][pAdmin] >= 2)
		{
			for(new e = 0; e < 4; e++) ClearChatbox(i);
			new broadcast[128];
			format(broadcast, sizeof(broadcast), "AdmCMD: Administrator %s has cleared the chat", GetPlayerNameEx(playerid));
			ABroadCast(COLOR_LIGHTRED, broadcast, 1);
		}
	}
	return 1;
}
Its spamming like hell when im executing that command
Reply


Messages In This Thread
string spamming (+rep) - by ChristianIvann09 - 10.04.2014, 13:58
Re: string spamming (+rep) - by Danijel. - 10.04.2014, 14:02
Re: string spamming (+rep) - by ChristianIvann09 - 10.04.2014, 14:08
Re: string spamming (+rep) - by RoboN1X - 10.04.2014, 14:09
Re: string spamming (+rep) - by ChristianIvann09 - 10.04.2014, 15:51

Forum Jump:


Users browsing this thread: 1 Guest(s)