[FilterScript] GeoIP - Get Players Country [HTTP] (No Plugins/No DB)
#1

Description

Show the player country when player connect (you can edit it), using the HTTP function of a_http.

Features

• No Plugins required.
• No DataBases required.

Bugs

Tell me if you find one.

Pictures

______________________________

______________________________
Installation

• Register in ipinfodb.com to get your API code,
you can find it here:

copy it and paste it in
PHP код:
#define APIKEY "yourApiKey" 
• Sometimes the HTTP can't get response, if you want the script to get always a response, uncomment this line:

PHP код:
// #define ALWAYS_RESPONSE 
but if you do that, might take a while to get the player's country.

Download

Pastebin: link

++Rep me if you like my works;
Reply
#2

Nice Workk !!
Reply
#3

Nice bro this is work for me but i want when someone type command [C] show country
can you help me !!!
Reply
#4

Nice FS! +REP
Reply
#5

Decided to stick with ip-api.com, its great and fast. No registrations + ability to get a lot more info. (Not only country)

Gj anyway.


to me, didn't notice date.
Reply
#6

Useful, +rep.
Reply
#7

Good job.
Reply
#8

You can also try our https://ipinfo.io/
API is free for up to 1,000 req/day
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)