geoip

Started by Coolkid, Mar 05, 2016, 07:16 PM

Previous topic - Next topic

Coolkid

my geoip only give 2 letter country code how to get full name

function onPlayerJoin(player) {
    local country = geoip_country_name_by_addr(player.IP);
    if (country != null) // the plugin returned a meaningful result
        Message("* " + player.Name + " is connecting from " + country + ". [" + geoip_country_code_by_addr(player.IP) + "]");
}

MacTavish

Have you really closed your eyes when you downloaded the plugin

Quote from: Crys on Sep 14, 2015, 08:22 AMDocumentation
You can find the plugin's documentation here.
Every functions and constants provided by the plugin is explained there.

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P