Napis jest w lewym dolnym rogiem a chciałbym żeby był na dole wyśrodkowany, możę mi to ktoś zrobić?
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #define PLUGIN "Bomb CountDown" #define VERSION "1.0" #define AUTHOR "peku33 with sound HubertTM without sound" // edited by HubertTM #define TID 4738 new pc; new t; public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR); pc = get_cvar_pointer("mp_c4timer"); register_logevent("planted", 3, "2=Planted_The_Bomb"); register_logevent("Koniec_Rundy", 2, "1=Round_End") } public planted() { t = get_pcvar_num(pc); set_task(1.0, "bomb_tick", TID, "", 0, "b"); } public bomb_tick() { t--; set_hudmessage(0, 255, 0, 0.0, 1.0, 0, 6.0, 0.5) show_hudmessage(0, "Bomba wybuchnie za: *%d* sekund", t) if(t <= 0) { if(task_exists(TID)) { remove_task(TID); } } } public Koniec_Rundy() { if(task_exists(TID)) { remove_task(TID); } }
Dam +