[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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)