AMX Mod X API Documentation

Signature
native Float:geoip_latitude(const ip[]);
Description

Look up the city's latitude for the given IP address.

Notes
  • This native requires GeoIP City database, which can be retrieved from:

    http://dev.maxmind.com/geoip/geoip2/geolite2/ (MaxMind DB binary)

Parameters
  • ip The IP address to look up.
Returns

The result of the geoip look up, 0 if latitude is not found.

Назад
Верх