Skip to content

geoip_country_ex throws undefined symbol #12

@SimeriaIonut

Description

@SimeriaIonut

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    compiler updateIssues requiring a compiler/include update

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions