Back to AsewN-'s profile
AsewN-

Posts by AsewN-

1,027 posts

  1. #1
  2. #2
  3. #3
  4. #4
  5. #5
  6. #6
  7. #7
  8. #8
  9. #9
  10. #10
  11. #11
  12. #12
  13. #13
  14. #14
  15. #15
  16. #16
  17. #17
  18. #18
    Reply in Plugins

    Acest plugin e pe net facut de StefaN

     

    Sursa:

    Spoiler

    #include <amxmodx>

     

    public plugin_init()

    {

    register_plugin("Informatii in hud 2", "1.0", "StefaN@CSX");

     

    set_task(1.0, "info_hud2",_,_,_,"b");

    }

     

    public info_hud2()

    {

    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)

    }

  19. #19
  20. #20