Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geoip_country_ex throws undefined symbol #12

Open
SimeriaIonut opened this issue Nov 26, 2017 · 0 comments
Open

geoip_country_ex throws undefined symbol #12

SimeriaIonut opened this issue Nov 26, 2017 · 0 comments
Labels
compiler update Issues requiring a compiler/include update

Comments

@SimeriaIonut
Copy link

SimeriaIonut commented Nov 26, 2017

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
@asherkin asherkin added the compiler update Issues requiring a compiler/include update label Mar 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler update Issues requiring a compiler/include update
Projects
None yet
Development

No branches or pull requests

2 participants