native

geoip_code3_ex

Syntax

native bool:geoip_code3_ex(const ip[], result[4]);

Description

Look up the three character country code for a given IP address.
e.g: "USA", "cAN", etc.

Parameters

ip The IP address to lookup.
result The result buffer. If the lookup does not succeed, the buffer is not modified.

Return

true on a successful lookup, false on a failed lookup.