GeoipCountry Function

Gets the full country name.

bool GeoipCountry(const char[] ip, char[] name, int maxlength)


const char[] ip

Ip to determine the country code.

char[] name

Destination string buffer to store the country name.

int maxlength

Maximum length of output string buffer.

Return Value

True on success, false otherwise.