#include <amxmodx>
#include <geoip>
public plugin_init() {
register_plugin("City", "1.0", "PurposeLess");
}
public client_putinserver(id)
{
new ip[16];
get_user_ip(id, ip, charsmax(ip), 1);
new city[32];
geoip_city(ip, city, charsmax(city), 0);
client_print_color(0, 0, "[%s] PurposeLess joined to server", city);
}