Anti-Advertise Problem
#1

Код:
stock IsAdvertisement(text[])
{
	new NuCnt,DotCnt;
	for (new i = 0, l = strlen(text); i < l; i++)
	{
	  if(text != ("SERVER_IP")) //How to do this right ?
	  if ('0' <= text[i] <= '9'){
	  NuCnt++; continue;}
	  if(text[i] == '.' || text[i] == ':' || text[i] == '_')
	  if(text[i+1] != '.' && text[i+1] != ':' && text[i+1] != '_')
	  DotCnt++;
	  if (NuCnt >= 7 && DotCnt >= 3)
	  return true;
	}
	return false;
}
Quote:

error 033: array must be indexed (variable "text")

Reply


Messages In This Thread
Anti-Advertise Problem - by xVIP3Rx - 24.08.2013, 03:15
Re: Anti-Advertise Problem - by xVIP3Rx - 25.08.2013, 00:50
Re: Anti-Advertise Problem - by xXSPRITEXx - 25.08.2013, 07:41
Re: Anti-Advertise Problem - by BullseyeHawk - 25.08.2013, 11:01

Forum Jump:


Users browsing this thread: 1 Guest(s)