marvel_team 278 Posted April 10, 2016 Share Posted April 10, 2016 Nume :DNS,Harta,timp ramas si ora Versiune :Nu conteaza Descriere detaliata : Pluginu respectiv l-am avut dar l-am sters din greseala Deci iti arata numele la server ,timpul ramas,data si ora in hud sus / mijloc.multumesc Link to comment Share on other sites More sharing options...
PUTEREA URSULUI 29 Posted April 10, 2016 Share Posted April 10, 2016 #include <amxmodx> public plugin_init() { register_plugin("Informatii in hud", "1.0", "StefaN@CSX"); set_task(1.0, "info_hud",_,_,_,"b"); } public info_hud() { new hostname[62], map[32], timeleft = get_timeleft(), ora[10]; get_cvar_string("hostname", hostname, charsmax(hostname)) get_mapname(map, charsmax(map)) get_time("%H:%M:%S", ora, charsmax(ora)) set_hudmessage(random_num(0, 50), random_num(0, 50), random_num(0, 50), -1.0, 0.02) show_hudmessage(0, "DNS: %s^n Harta: %s | Timp ramas: %d:%02d | Ora: %s", hostname, map, timeleft / 60, timeleft % 60, ora) } Link to comment Share on other sites More sharing options...
Sp1dey 308 Posted April 14, 2016 Share Posted April 14, 2016 Si daca nu te descurci la copilare, poftim pluginu complet. Click. Link to comment Share on other sites More sharing options...
Recommended Posts