![]() |
|
deagsmapmanager + mapcyckl nocny - Printable Version +- CSHOT.PL - Pluginy amxx , plugins amxx , server game counter strike , serwery gier , forum (https://cshot.pl) +-- Forum: Counter-Strike (https://cshot.pl/forumdisplay.php?fid=54) +--- Forum: Counter-Strike 1.6 (https://cshot.pl/forumdisplay.php?fid=55) +---- Forum: PLUGINY (https://cshot.pl/forumdisplay.php?fid=62) +---- Thread: deagsmapmanager + mapcyckl nocny (/showthread.php?tid=2012) |
deagsmapmanager + mapcyckl nocny - Poster - 09-18-2025 [TITLE] deagsmapmanager + mapcyckl nocny [URL] https://amxx.pl/topic/90947-deagsmapmanager-mapcyckl-nocny/ Plugin deagsmapmanager korzysta z maps.ini czy standratdmaps.ini wiec w pliku mapcycle.txt wpisujemy sobie tylko mapy ktore chcemy miec w mapcyklu na noc. Nastepnie wgrywamy ten krotki plugin: #include <amxmodx> public plugin_init() { register_plugin("noc czy dzien", "1,0", "wizu") wczytaj() } public wczytaj() { new today_str[8] get_time("%H",today_str,8) new today = str_to_num(today_str) if ((today >= 21) || (today < 10)) pause("ac","deagsmapmanager.amxx") else unpause("ac","deagsmapmanager.amxx") } I od godziny 21 do 10 rano deagsmapmanager.amxx jest wylaczony a co za tym idzie mappki ida po kolei z pliku mapcycle.txt Od godziny 10 wlacza sie nasz plugin i mamy wszystkie mapy + glosowania + nominacjie + rtv Mysle ze jest to lepsze rozwiazanie od standardowych pluginów na mapcykl dzienny i nocny. |