zapożyczyłem plugin z tematu niżej:
/* * AMX X Mod script. * * © Copyright 2003, ST4life * Remade by TaL * This file is provided as is (no warranties). */ #include <amxmodx> /* * TimeProjector displays the remaining time and the next map on the top right corner of the client * display as a hudmessage. * * History: * * v0.1: - first release */ public plugin_init() { register_plugin("TimeProjector","0.1","ST4life") register_clcmd("say timeleft", "show_timer", 0) register_clcmd("say nextmap", "show_timer", 0) } public show_timer(){ new nextmap[32] get_cvar_string("amx_nextmap",nextmap,31) new timeleft = get_timeleft() client_print(0, print_chat, "Czas do konca mapy: %d:%02d^nNastepna Mapa: %s",timeleft / 60, timeleft % 60,nextmap) return PLUGIN_CONTINUE }
Zrobiłby ktoś żeby zamiast pokazywać następną mapę to zsynchronizować to z deaglemapsvote czyli że będzie pisało: Następna Mapa: (bedzie wylosowana w vocie) a jak się ją wylosuje pod koniec to treść zamieni w nazwę mapy