spider icon indicating copy to clipboard operation
spider copied to clipboard

geoip_country_ex throws undefined symbol

Open SimeriaIonut opened this issue 8 years ago • 0 comments

Hi, I know geoip_country_ex is part of amxx 1.8.3 now according to the documentation:

geoip_country_ex

When trying to run this code:

#include <amxmodx>
#include <amxmisc>
#include <geoip>

new szCountry[32];

public plugin_init()
{
	register_plugin("", "", "");
}

public client_putinserver(id)
{
	new szIP[32];
	get_user_ip(id, szIP, charsmax(szIP), 1)

	geoip_country_ex(szIP, szCountry, charsmax (szCountry))
}

It throws:

plugin.sma(17) : error 017: undefined symbol "geoip_country_ex"
plugin.sma(17) : error 088: number of arguments does not match definition

SimeriaIonut avatar Nov 26 '17 16:11 SimeriaIonut