Looping
#2

Code:
	static country[50];
	GetPlayerCountry(playerid, country, sizeof(country));
	printf("Player Country: %s",country);
	for(new i = 0; i < sizeof(vpncountry); i++)
       {
		if(!strcmp(country, vpncountry[i]) && !isnull(vpncountry[i]))
		{
                   printf("match (vpn country: %s)", vpncountry[i]);
	           new stringaa[100];
	           format(stringaa, sizeof(stringaa), "--- Anti VPN ---  %s is kicked because of VPN", GetName(playerid));
	           printf(stringaa);
	           kick[playerid] = SetTimerEx("Kick", 1000, 0, "d", playerid);
                   break;
  		}
	}
Paste the results.
Reply


Messages In This Thread
Looping - by TokicMajstor - 20.02.2019, 14:48
Re: Looping - by DaniceMcHarley - 20.02.2019, 15:05
Re: Looping - by Calisthenics - 20.02.2019, 15:07
Re: Looping - by TokicMajstor - 20.02.2019, 15:19

Forum Jump:


Users browsing this thread: 1 Guest(s)