samp.directory
← Skrypty i biblioteki

Whitetigerswt/SAMP-geoip

Geographical IP based on MaxMind databases for SA-MP

Biblioteka★ 22zaktualizowano gru 2020Brak licencjiPawnZarchiwizowane
Otwórz na GitHubie

Autor zarchiwizował to repozytorium, więc nie jest już rozwijane.

To repozytorium nie ma pliku licencji. Jest publiczne do odczytu, ale samo to nie daje pozwolenia na ponowne użycie.

Wypróbuj w kompilatorze Pawn →

Dodaje jej pliki include, razem z bibliotekami, od których zależy, do kompilatora Pawn w twojej przeglądarce, gotowe do dołączenia w skrypcie.

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

Ta strona jest zbudowana z tego, co GitHub publikuje o repozytorium. samp.directory nie hostuje kodu. Zgłoś problem z tym wpisem

Whitetigerswt/SAMP-geoip: Biblioteka SA-MP | samp.directory