hlmod.hu
https://hlmod.hu/

Radar Under HUD Services
https://hlmod.hu/viewtopic.php?f=29&t=9886
Oldal: 1 / 1

Szerző:  Joke [2013.08.05. 15:56 ]
Hozzászólás témája:  Radar Under HUD Services

Sziasztok...
Van ez a plugin: http://amxmodx.crys.hu/site/?p=pluginz& ... apatfragek
Megtudnátok csinálni ,hogy Pirosan írja ,illetve kicsit aljább legyen ,mert picit belenyúl a radarba ,
köszönöm.... Megy a gomb ;) ;)

Szerző:  levi1992 [2013.08.05. 16:33 ]
Hozzászólás témája:  Re: Radar Under HUD Services

Joke írta:
Sziasztok...
Van ez a plugin: http://amxmodx.crys.hu/site/?p=pluginz& ... apatfragek
Megtudnátok csinálni ,hogy Pirosan írja ,illetve kicsit aljább legyen ,mert picit belenyúl a radarba ,
köszönöm.... Megy a gomb ;) ;)

SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2.  
  3. #define PLUGIN "CsapatFragek"
  4.  
  5. #define VERSION "1.0"
  6.  
  7. #define AUTHOR "BaSzOgASD"
  8.  
  9.  
  10.  
  11. new ctfrags = 0
  12.  
  13. new tfrags = 0
  14.  
  15.  
  16.  
  17. public plugin_init() {
  18.  
  19. register_plugin(PLUGIN, VERSION, AUTHOR)
  20.  
  21. register_event("DeathMsg", "halal", "a");
  22.  
  23. register_logevent("round_first", 2, "0=World triggered", "1&Restart_Round_")
  24.  
  25. register_logevent("round_first", 2, "0=World triggered", "1=Game_Commencing")
  26.  
  27. set_task(5.0, "hud")
  28.  
  29. }
  30.  
  31.  
  32.  
  33. public round_first()
  34.  
  35. ctfrags = 0, tfrags = 0
  36.  
  37.  
  38.  
  39. public halal()
  40.  
  41. {
  42.  
  43. static killer
  44.  
  45. killer = read_data(1);
  46.  
  47. if(get_user_team(killer) == 2)
  48.  
  49. ctfrags++
  50.  
  51. if(get_user_team(killer) == 1)
  52.  
  53. tfrags++
  54.  
  55. return PLUGIN_CONTINUE
  56.  
  57. }
  58.  
  59.  
  60.  
  61. public hud() {
  62.  
  63. set_hudmessage(255, 0, 0, 0.01, 0.18, 0, 1.0, 1.0)
  64.  
  65. show_hudmessage(0,"CT Fragek:%d^nT Fragek: %d",ctfrags, tfrags)
  66.  
  67. set_task(5.0, "hud")
  68.  
  69. }
  70.  

Ha szép nagybetűkben azaz 3D sen is kell PM!

Szerző:  JoGoBeLLa [2013.08.05. 16:33 ]
Hozzászólás témája:  Re: Radar Under HUD Services

SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2.  
  3. #define PLUGIN "CsapatFragek"
  4.  
  5. #define VERSION "1.0"
  6.  
  7. #define AUTHOR "BaSzOgASD"
  8.  
  9.  
  10.  
  11. new ctfrags = 0
  12.  
  13. new tfrags = 0
  14.  
  15.  
  16.  
  17. public plugin_init() {
  18.  
  19. register_plugin(PLUGIN, VERSION, AUTHOR)
  20.  
  21. register_event("DeathMsg", "halal", "a");
  22.  
  23. register_logevent("round_first", 2, "0=World triggered", "1&Restart_Round_")
  24.  
  25. register_logevent("round_first", 2, "0=World triggered", "1=Game_Commencing")
  26.  
  27. set_task(5.0, "hud")
  28.  
  29. }
  30.  
  31.  
  32.  
  33. public round_first()
  34.  
  35. ctfrags = 0, tfrags = 0
  36.  
  37.  
  38.  
  39. public halal()
  40.  
  41. {
  42.  
  43. static killer
  44.  
  45. killer = read_data(1);
  46.  
  47. if(get_user_team(killer) == 2)
  48.  
  49. ctfrags++
  50.  
  51. if(get_user_team(killer) == 1)
  52.  
  53. tfrags++
  54.  
  55. return PLUGIN_CONTINUE
  56.  
  57. }
  58.  
  59.  
  60.  
  61. public hud() {
  62.  
  63. set_hudmessage(255, 0, 0, 0.04, 0.15, 0, 0.6, 5.0)
  64.  
  65. show_hudmessage(0,"CT Fragek:%d^nT Fragek: %d",ctfrags, tfrags)
  66.  
  67. set_task(5.0, "hud")
  68.  
  69. }
  70.  

Szerző:  Joke [2013.08.05. 16:59 ]
Hozzászólás témája:  Re: Radar Under HUD Services

levi1992 írta:
Joke írta:
Sziasztok...
Van ez a plugin: http://amxmodx.crys.hu/site/?p=pluginz& ... apatfragek
Megtudnátok csinálni ,hogy Pirosan írja ,illetve kicsit aljább legyen ,mert picit belenyúl a radarba ,
köszönöm.... Megy a gomb ;) ;)

SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2.  
  3. #define PLUGIN "CsapatFragek"
  4.  
  5. #define VERSION "1.0"
  6.  
  7. #define AUTHOR "BaSzOgASD"
  8.  
  9.  
  10.  
  11. new ctfrags = 0
  12.  
  13. new tfrags = 0
  14.  
  15.  
  16.  
  17. public plugin_init() {
  18.  
  19. register_plugin(PLUGIN, VERSION, AUTHOR)
  20.  
  21. register_event("DeathMsg", "halal", "a");
  22.  
  23. register_logevent("round_first", 2, "0=World triggered", "1&Restart_Round_")
  24.  
  25. register_logevent("round_first", 2, "0=World triggered", "1=Game_Commencing")
  26.  
  27. set_task(5.0, "hud")
  28.  
  29. }
  30.  
  31.  
  32.  
  33. public round_first()
  34.  
  35. ctfrags = 0, tfrags = 0
  36.  
  37.  
  38.  
  39. public halal()
  40.  
  41. {
  42.  
  43. static killer
  44.  
  45. killer = read_data(1);
  46.  
  47. if(get_user_team(killer) == 2)
  48.  
  49. ctfrags++
  50.  
  51. if(get_user_team(killer) == 1)
  52.  
  53. tfrags++
  54.  
  55. return PLUGIN_CONTINUE
  56.  
  57. }
  58.  
  59.  
  60.  
  61. public hud() {
  62.  
  63. set_hudmessage(255, 0, 0, 0.01, 0.18, 0, 1.0, 1.0)
  64.  
  65. show_hudmessage(0,"CT Fragek:%d^nT Fragek: %d",ctfrags, tfrags)
  66.  
  67. set_task(5.0, "hud")
  68.  
  69. }
  70.  

Ha szép nagybetűkben azaz 3D sen is kell PM!


Ha gondolod megcsinálhatod ,megnézzük milyen lesz dobok arra is egy gombot

Szerző:  levi1992 [2013.08.05. 17:15 ]
Hozzászólás témája:  Re: Radar Under HUD Services

SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <dhudmessage>
  3.  
  4. #define PLUGIN "CsapatFragek"
  5.  
  6. #define VERSION "1.0"
  7.  
  8. #define AUTHOR "BaSzOgASD"
  9.  
  10.  
  11.  
  12. new ctfrags = 0
  13.  
  14. new tfrags = 0
  15.  
  16.  
  17.  
  18. public plugin_init() {
  19.  
  20. register_plugin(PLUGIN, VERSION, AUTHOR)
  21.  
  22. register_event("DeathMsg", "halal", "a");
  23.  
  24. register_logevent("round_first", 2, "0=World triggered", "1&Restart_Round_")
  25.  
  26. register_logevent("round_first", 2, "0=World triggered", "1=Game_Commencing")
  27.  
  28. set_task(5.0, "hud")
  29.  
  30. }
  31.  
  32.  
  33.  
  34. public round_first()
  35.  
  36. ctfrags = 0, tfrags = 0
  37.  
  38.  
  39.  
  40. public halal()
  41.  
  42. {
  43.  
  44. static killer
  45.  
  46. killer = read_data(1);
  47.  
  48. if(get_user_team(killer) == 2)
  49.  
  50. ctfrags++
  51.  
  52. if(get_user_team(killer) == 1)
  53.  
  54. tfrags++
  55.  
  56. return PLUGIN_CONTINUE
  57.  
  58. }
  59.  
  60.  
  61.  
  62. public hud() {
  63.  
  64. set_dhudmessage(random(256), random(256), random(256), 0.01, 0.18, 0, 1.0, 1.0)
  65.  
  66. show_dhudmessage(0,"CT Fragek:%d^nT Fragek: %d",ctfrags, tfrags)
  67.  
  68. set_task(5.0, "hud")
  69.  
  70. }
  71.  

Szerző:  levi1992 [2013.08.05. 17:17 ]
Hozzászólás témája:  Re: Radar Under HUD Services

levi1992 írta:
SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <dhudmessage>
  3.  
  4. #define PLUGIN "CsapatFragek"
  5.  
  6. #define VERSION "1.0"
  7.  
  8. #define AUTHOR "BaSzOgASD"
  9.  
  10.  
  11.  
  12. new ctfrags = 0
  13.  
  14. new tfrags = 0
  15.  
  16.  
  17.  
  18. public plugin_init() {
  19.  
  20. register_plugin(PLUGIN, VERSION, AUTHOR)
  21.  
  22. register_event("DeathMsg", "halal", "a");
  23.  
  24. register_logevent("round_first", 2, "0=World triggered", "1&Restart_Round_")
  25.  
  26. register_logevent("round_first", 2, "0=World triggered", "1=Game_Commencing")
  27.  
  28. set_task(5.0, "hud")
  29.  
  30. }
  31.  
  32.  
  33.  
  34. public round_first()
  35.  
  36. ctfrags = 0, tfrags = 0
  37.  
  38.  
  39.  
  40. public halal()
  41.  
  42. {
  43.  
  44. static killer
  45.  
  46. killer = read_data(1);
  47.  
  48. if(get_user_team(killer) == 2)
  49.  
  50. ctfrags++
  51.  
  52. if(get_user_team(killer) == 1)
  53.  
  54. tfrags++
  55.  
  56. return PLUGIN_CONTINUE
  57.  
  58. }
  59.  
  60.  
  61.  
  62. public hud() {
  63.  
  64. set_dhudmessage(random(256), random(256), random(256), 0.01, 0.18, 0, 1.0, 1.0)
  65.  
  66. show_dhudmessage(0,"CT Fragek:%d^nT Fragek: %d",ctfrags, tfrags)
  67.  
  68. set_task(5.0, "hud")
  69.  
  70. }
  71.  


Ezt
SMA Forráskód: [ Mindet kijelol ]
  1. 0.01, 0.18, 0, 1.0, 1.0

->erre cseréld
SMA Forráskód: [ Mindet kijelol ]
  1.  
  2. 0.18, 0, 1.0, 1.0

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