hlmod.hu
https://hlmod.hu/

HUD
https://hlmod.hu/viewtopic.php?f=29&t=7366
Oldal: 1 / 1

Szerző:  money [ 2013.02.06. 19:32 ]
Hozzászólás témája:  HUD

Sziasztok én a bal oldalra kérnék egy (fehér)hud Szerver infot SEMMI CVAR stb.. ezek lennének:
Pontos Ido:
Kovetkezo map:
Skype:Azt majd beletudom írni..!
Jatekosok: x|x
aki megcsinálja annak nyomok egy köszönöm gombot!

Szerző:  crazy` [ 2013.02.06. 19:58 ]
Hozzászólás témája:  Re: HUD

SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <amxmisc>
  3.  
  4. #define PLUGIN "Hud"
  5. #define VERSION "1.0"
  6. #define AUTHOR "crazy"
  7.  
  8.  
  9. public plugin_init() {
  10.  
  11. register_plugin(PLUGIN, VERSION, AUTHOR)
  12.  
  13. set_task(1.0, "show_time",0,"",0,"b")
  14. }
  15.  
  16. public show_time()
  17.  
  18. {
  19. new ido[9]
  20.  
  21. new timeleft = get_timeleft();
  22.  
  23. new perc = 0;
  24.  
  25. while(timeleft >= 60)
  26.  
  27. {
  28. perc++;
  29. timeleft=timeleft-60;
  30. }
  31. get_time("%H:%M:%S",ido,8)
  32.  
  33. new nmap[32]
  34.  
  35. get_cvar_string("amx_nextmap", nmap, sizeof(nmap) -1)
  36.  
  37. set_hudmessage(255, 255, 255, 0.0, 0.11, 0, 6.0, 12.0)
  38.  
  39. show_hudmessage(0, "Pontos ido: %s^nHatralevo ido: %d:%d^nKovetkezo Palya: %s^nSkype:ideirod a neved", ido,perc,timeleft,nmap)
  40. }

Szerző:  money [ 2013.02.06. 20:02 ]
Hozzászólás témája:  Re: HUD

socrazy írta:
SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <amxmisc>
  3.  
  4. #define PLUGIN "Hud"
  5. #define VERSION "1.0"
  6. #define AUTHOR "crazy"
  7.  
  8.  
  9. public plugin_init() {
  10.  
  11. register_plugin(PLUGIN, VERSION, AUTHOR)
  12.  
  13. set_task(1.0, "show_time",0,"",0,"b")
  14. }
  15.  
  16. public show_time()
  17.  
  18. {
  19. new ido[9]
  20.  
  21. new timeleft = get_timeleft();
  22.  
  23. new perc = 0;
  24.  
  25. while(timeleft >= 60)
  26.  
  27. {
  28. perc++;
  29. timeleft=timeleft-60;
  30. }
  31. get_time("%H:%M:%S",ido,8)
  32.  
  33. new nmap[32]
  34.  
  35. get_cvar_string("amx_nextmap", nmap, sizeof(nmap) -1)
  36.  
  37. set_hudmessage(255, 255, 255, 0.0, 0.11, 0, 6.0, 12.0)
  38.  
  39. show_hudmessage(0, "Pontos ido: %s^nHatralevo ido: %d:%d^nKovetkezo Palya: %s^nSkype:ideirod a neved", ido,perc,timeleft,nmap)
  40. }

köszii^^

Szerző:  Maxi [ 2013.02.07. 13:47 ]
Hozzászólás témája:  Re: HUD

socrazy írta:
SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <amxmisc>
  3.  
  4. #define PLUGIN "Hud"
  5. #define VERSION "1.0"
  6. #define AUTHOR "crazy"
  7.  
  8.  
  9. public plugin_init() {
  10.  
  11. register_plugin(PLUGIN, VERSION, AUTHOR)
  12.  
  13. set_task(1.0, "show_time",0,"",0,"b")
  14. }
  15.  
  16. public show_time()
  17.  
  18. {
  19. new ido[9]
  20.  
  21. new timeleft = get_timeleft();
  22.  
  23. new perc = 0;
  24.  
  25. while(timeleft >= 60)
  26.  
  27. {
  28. perc++;
  29. timeleft=timeleft-60;
  30. }
  31. get_time("%H:%M:%S",ido,8)
  32.  
  33. new nmap[32]
  34.  
  35. get_cvar_string("amx_nextmap", nmap, sizeof(nmap) -1)
  36.  
  37. set_hudmessage(255, 255, 255, 0.0, 0.11, 0, 6.0, 12.0)
  38.  
  39. show_hudmessage(0, "Pontos ido: %s^nHatralevo ido: %d:%d^nKovetkezo Palya: %s^nSkype:ideirod a neved", ido,perc,timeleft,nmap)
  40. }

Crazy ebben nincs benne : Jatekosok: x|x ezt kihagytad!

Szerző:  crazy` [ 2013.02.07. 16:29 ]
Hozzászólás témája:  Re: HUD

bocsánat konfig mester!
SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <amxmisc>
  3.  
  4. #define PLUGIN "Hud"
  5. #define VERSION "1.0"
  6. #define AUTHOR "crazy"
  7.  
  8.  
  9. public plugin_init() {
  10.  
  11. register_plugin(PLUGIN, VERSION, AUTHOR)
  12.  
  13. set_task(1.0, "show_time",0,"",0,"b")
  14. }
  15.  
  16. public show_time()
  17.  
  18. {
  19. new ido[9]
  20.  
  21. new timeleft = get_timeleft();
  22.  
  23. new perc = 0;
  24.  
  25. new slot = get_playersnum()
  26.  
  27. while(timeleft >= 60)
  28.  
  29. {
  30. perc++;
  31. timeleft=timeleft-60;
  32. }
  33. get_time("%H:%M:%S",ido,8)
  34.  
  35. new nmap[32]
  36.  
  37. get_cvar_string("amx_nextmap", nmap, sizeof(nmap) -1)
  38.  
  39. set_hudmessage(255, 255, 255, 0.0, 0.11, 0, 6.0, 12.0)
  40.  
  41. show_hudmessage(0, "Pontos ido: %s^nHatralevo ido: %d:%d^nKovetkezo Palya: %s^nJatekosok: %s^nSkype:ideirod a neved", ido,perc,timeleft,slot,nmap)
  42. }

Szerző:  pixxa112 [ 2013.02.18. 16:39 ]
Hozzászólás témája:  Re: HUD

socrazy írta:
bocsánat konfig mester!
SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <amxmisc>
  3.  
  4. #define PLUGIN "Hud"
  5. #define VERSION "1.0"
  6. #define AUTHOR "crazy"
  7.  
  8.  
  9. public plugin_init() {
  10.  
  11. register_plugin(PLUGIN, VERSION, AUTHOR)
  12.  
  13. set_task(1.0, "show_time",0,"",0,"b")
  14. }
  15.  Nem működik
  16. public show_time()
  17.  
  18. {
  19. new ido[9]
  20.  
  21. new timeleft = get_timeleft();
  22.  
  23. new perc = 0;
  24.  
  25. new slot = get_playersnum()
  26.  
  27. while(timeleft >= 60)
  28.  
  29. {
  30. perc++;
  31. timeleft=timeleft-60;
  32. }
  33. get_time("%H:%M:%S",ido,8)
  34.  
  35. new nmap[32]
  36.  
  37. get_cvar_string("amx_nextmap", nmap, sizeof(nmap) -1)
  38.  
  39. set_hudmessage(255, 255, 255, 0.0, 0.11, 0, 6.0, 12.0)
  40.  
  41. show_hudmessage(0, "Pontos ido: %s^nHatralevo ido: %d:%d^nKovetkezo Palya: %s^nJatekosok: %s^nSkype:ideirod a neved", ido,perc,timeleft,slot,nmap)
  42. }

Szerző:  crazy` [ 2013.02.18. 19:03 ]
Hozzászólás témája:  Re: HUD

pixxa112 írta:
socrazy írta:
bocsánat konfig mester!
SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <amxmisc>
  3.  
  4. #define PLUGIN "Hud"
  5. #define VERSION "1.0"
  6. #define AUTHOR "crazy"
  7.  
  8.  
  9. public plugin_init() {
  10.  
  11. register_plugin(PLUGIN, VERSION, AUTHOR)
  12.  
  13. set_task(1.0, "show_time",0,"",0,"b")
  14. }
  15.  Nem működik
  16. public show_time()
  17.  
  18. {
  19. new ido[9]
  20.  
  21. new timeleft = get_timeleft();
  22.  
  23. new perc = 0;
  24.  
  25. new slot = get_playersnum()
  26.  
  27. while(timeleft >= 60)
  28.  
  29. {
  30. perc++;
  31. timeleft=timeleft-60;
  32. }
  33. get_time("%H:%M:%S",ido,8)
  34.  
  35. new nmap[32]
  36.  
  37. get_cvar_string("amx_nextmap", nmap, sizeof(nmap) -1)
  38.  
  39. set_hudmessage(255, 255, 255, 0.0, 0.11, 0, 6.0, 12.0)
  40.  
  41. show_hudmessage(0, "Pontos ido: %s^nHatralevo ido: %d:%d^nKovetkezo Palya: %s^nJatekosok: %s^nSkype:ideirod a neved", ido,perc,timeleft,slot,nmap)
  42. }


??

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