hlmod.hu
https://hlmod.hu/

Infó
https://hlmod.hu/viewtopic.php?f=29&t=12854
Oldal: 1 / 1

Szerző:  johnny [ 2013.11.23. 18:33 ]
Hozzászólás témája:  Infó

Üdv.
Én 1 olyan plugin szeretnék kérni, HUD, térkép alá, Zöldes kék szín :).
T Frag:
CT Frag:
Idő:
Játékosok: /20

Írjátok meg :)
Megy a Gomb! :)

Szerző:  johnny [ 2013.11.23. 19:11 ]
Hozzászólás témája:  Re: Infó

Sehol senki xdd?

Szerző:  Maxi [ 2013.11.23. 20:28 ]
Hozzászólás témája:  Re: Infó

Try:
SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2.  
  3. new ct = 0;
  4. new t = 0;
  5.  
  6. public plugin_init()
  7. {
  8. register_plugin("Hud","1232231.0","maxi");
  9. register_event("DeathMsg", "halal", "a");
  10. register_logevent("round_first", 2, "0=World triggered", "1&Restart_Round_")
  11. register_logevent("round_first", 2, "0=World triggered", "1=Game_Commencing")
  12.  
  13. set_task(5.0, "hud");
  14. }
  15. public round_first()
  16. {
  17. ct = 0, t = 0;
  18. }
  19. public halal()
  20. {
  21. static killer;
  22. killer = read_data(1);
  23. if (get_user_team(killer) == 2)
  24. ct++;
  25. else if (get_user_team(killer) == 1)
  26. t++;
  27. return PLUGIN_CONTINUE;
  28. }
  29. public hud()
  30. {
  31. new o = get_playersnum();
  32. new o2 = get_maxplayers();
  33. new ido[64];
  34. get_time("%H:%M:%S", ido, 63)
  35. set_hudmessage(0,200, 200, 0.0, 0.6, 0, 0.6, 5.0)
  36. show_hudmessage(0,"CT frag: %d^nT frag: %d^n Ido: %s^n Jatekosok: %d/%d",ct, t, ido, o, o2);
  37. }

Oldal: 1 / 1 Minden időpont UTC+02:00 időzóna szerinti
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/