geoip_code2_ex
- Синтаксис
-
native bool:geoip_code2_ex(const ip[], result[3]);
Переменная | Описание |
---|---|
ip |
The IP address to lookup. |
result |
The result buffer. If the lookup does not succeed, the buffer is not modified. |
- Описание
- Look up the two character country code for a given IP address. e.g: "US", "CA", etc.
- Возвращает
- true on a successful lookup, false on a failed lookup.