samp.directory
← Scripts y librerías

Whitetigerswt/SAMP-geoip

Geographical IP based on MaxMind databases for SA-MP

Librería★ 22actualizado dic 2020Sin licenciaPawnArchivado
Abrir en GitHub

El autor archivó este repositorio, así que ya no se mantiene.

Este repositorio no tiene archivo de licencia. Se puede leer, pero eso por sí solo no da permiso para reutilizarlo.

README.md

SAMP-geoip

Geographical IP based on MaxMind databases for SA-MP

this product includes GeoLite2 data created by MaxMind, available from http://maxmind.com/

Functions

GetPlayerCountry(playerid, string[], const len = sizeof(string));
GetPlayerISP(playerid, string[], const len = sizeof(string));
GetPlayerCity(playerid, string[], const len = sizeof(string));
GetPlayerGMT(playerid);

GetIPCountry(ip[], dest[], len = sizeof(dest));
GetIPISP(ip[], dest[], len = sizeof(dest));
GetIPCity(ip[], dest[], len = sizeof(dest));
GetIPGMT(ip[]);

Speed Test

[07:54:06] took 1 ms - GetPlayerCountry
[07:54:06] took 0 ms - GetPlayerCity
[07:54:06] took 17 ms - GetPlayerISP

Accuracy

http://www.maxmind.com/en/city_accuracy - City accuracy
Country accuracy - 99.5%

Credits

  • Whitetiger
  • RaekwonDaChef
  • Y_Less
  • Andreas Gohr

Esta página se genera con lo que GitHub publica sobre el repositorio. samp.directory no aloja el código. Informar de un problema con esta ficha

Whitetigerswt/SAMP-geoip: Librería de SA-MP | samp.directory