PtokaX wiki

Hub (server) for Direct Connect

User Tools

Site Tools


luaapi:px_ip2country

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
luaapi:px_ip2country [14/10/2012 04:33] – created ppkluaapi:px_ip2country [16/06/2015 14:04] (current) ppk
Line 1: Line 1:
-====== IP to Country metatable functions ======+====== IP to Country table functions ======
  
 ^ Function ^ Description ^ ^ Function ^ Description ^
Line 5: Line 5:
 |IP2Country.GetCountryName(sIP)|Return country name of given IP or nil when IP is not valid.| |IP2Country.GetCountryName(sIP)|Return country name of given IP or nil when IP is not valid.|
 |IP2Country.GetCountryName(tUser)|Return country name for given user.| |IP2Country.GetCountryName(tUser)|Return country name for given user.|
 +| | |
 +|IP2Country.Reload()|Reload (update) database from database files.|
  
luaapi/px_ip2country.1350189182.txt.gz · Last modified: 14/10/2012 04:33 by ppk