20.02.2019, 15:05
(
Last edited by DaniceMcHarley; 20/02/2019 at 10:12 PM.
)
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; } }