RSSy MYGO.pl Opublikowano Wrzesień 16, 2020 o 16:51 RSSy Udostępnij Opublikowano Wrzesień 16, 2020 o 16:51 Hello AM im looking for a plugin to change hostname automatic when i change some spesific map for example im create amxmodx/confings/maps/plugins-surf.ini so the deafult hostname in server.cfg so i want when i change for example to surf , hostname change to name I choose. https://forums.alliedmods.net/showthread.php?t=114858 i found this and try this Code: #include <amxmodx> public plugin_init() { register_logevent("SetName", 2, "1=Round_Start") } public SetName() { server_cmd("amx_cvar hostname some host name here") } but has some problems first its write only the first word and its spam in console every 3-4 min "change host name ...." so i want when im run the plugin only when map change its change the name and enough.. maybe for ur guys has other way more simple with one plugin so... thansk! Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi