Signature
native bool:geoip_code2_ex(const ip[], result[3]);
Description
Look up the two character country code for a given IP address.
e.g: "US", "CA", etc.
Parameters
- ip — The IP address to lookup.
- result — The result buffer. If the lookup does not succeed, the buffer is not modified.
Returns
true on a successful lookup, false on a failed lookup.