AMX Mod X API Documentation

Signature
native geoip_code3(const ip[], result[4]);
Description

Lookup the three character country code for a given IP address. Sets the buffer to "error" on

an unsuccessful lookup.

Deprecated

This native will overflow the buffer by one cell on an unknown ip lookup!

Use geoip_code3_ex instead.

Parameters
  • ip The IP address to lookup.
  • result The result buffer.
Returns

The result length.

Назад
Верх