The Nazis are evolving and moving to TF2!.... But I think it would go something like this
PHP Code:
#include <sourcemod>
#include <geoip>
public bool:OnClientConnect(client, String:rejectmsg[], length){
new String:country[4], String:IP[42];
GetClientIP(client, IP, sizeof(IP));
GeoipCode3(IP, country);
if(!StrEqual(country, "USA", false)){//If they're not from USA. (CAN BE REPLACED WITH ANY 3 LETTER ABREVIATION
Format(rejectmsg, length, "Connections from your country are not allowed.");
return false;
}
return true;
}