Иконка ресурса

FREE GeoIPTest : 0.1.2.3 0.1.2.3

Нет прав для скачивания
C#:
// Все права принадлежат дискорд сообществу https://discord.gg/VgNHPpNrz6
using Oxide.Core.Plugins;

namespace Oxide.Plugins
{
    [Info("GeoIPTest", "Wulf/lukespragg", "0.1.2.3")]
    [Description("GeoIP test plugin.")]

    class GeoIPTest : RustPlugin
    {
        [PluginReference] Plugin GeoIP;

        void Loaded()
        {
            if (!GeoIP)
            {
                Puts("GeoIP is not loaded! http://oxidemod.org/plugins/1364/");
                return;
            }
            var country = GeoIP.Call("GetCountry", "8.8.8.8");
            Puts("Country name for IP 8.8.8.8 is " + country);
        }
    }
}

Автор
15FPS
Скачиваний
0
Просмотры
1
Первый выпуск
Обновление
Оценка
0.00 звёзд 0 оценок
Сверху