geoip_longitude

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

Syntax

native Float:geoip_longitude(const ip[])

Usage

ip The IP address to look up.

Return

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

Notes

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

Defined in geoip.inc at line 199 . This documentation was automatically generated from source.