RSSy MYGO.pl Opublikowano Marzec 11, 2024 o 18:12 RSSy Udostępnij Opublikowano Marzec 11, 2024 o 18:12 Hi, i made this code that shows players that connect but i dont know how to make it show their country. I've tried geoip and geoipse but none of them work. Ive searched for the module and the GeoIP.dat file but couldnt find it, and even searched in this forum but the links were not working anymore. So if anyone could help, or give me a working geoip module and dat file. This is the code PHP Code: #include <amxmodx> #include <amxmisc> #include <colorchat> #define PLUGIN "connect_disconnect" #define VERSION "1.0" #define AUTHOR "tedaimlocks" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) } public client_putinserver(id) { new szName[32] get_user_name(id, szName, charsmax(szName)) ColorChat(0, GREEN, "^x04[SPK ZM] [^x03%s^x04]^x01 has connected.", szName) } public client_disconnected(id) { new szName[32] new szIp[32] get_user_name(id, szName, charsmax(szName)) get_user_ip(id, szIp, charsmax(szIp)) ColorChat(0, GREEN, "^x04[SPK ZM] [^x03%s^x04]^x01 has disconnected ( ip test %s) .", szName, szIp) } Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi