hlmod.hu

Magyar Half-Life Mód közösség!
Pontos idő: 2025.06.16. 12:52



Jelenlévő felhasználók

Jelenleg 398 felhasználó van jelen :: 1 regisztrált, 0 rejtett és 397 vendég

A legtöbb felhasználó (2761 fő) 2025.01.09. 20:06-kor tartózkodott itt.

Regisztrált felhasználók: Bing [Bot]az elmúlt 5 percben aktív felhasználók alapján

Utoljára aktív
Ahhoz hogy lásd ki volt utoljára aktív, be kell jelentkezned.



Az oldal teljeskörű
használatához regisztrálj.

Regisztráció

Kereső


Új téma nyitása Hozzászólás a témához  [2 hozzászólás ] 
Szerző Üzenet
 Hozzászólás témája: Bázis építő Zombi beleírása.
HozzászólásElküldve:2015.06.22. 22:01 
Offline
Jómunkásember
Avatar

Csatlakozott:2015.04.18. 17:14
Hozzászólások:454
Megköszönt másnak: 48 alkalommal
Megköszönték neki: 32 alkalommal
Hali! valaki írna bele még +2 zombit? mindegy milyen képessége legyen. :)

SMA Forráskód: [ Mindet kijelol ]
  1.  
  2. #include <amxmodx>
  3. #include <basebuilder>
  4. #include <hamsandwich>
  5. #include <fun>
  6. #include <cstrike>
  7.  
  8. /*================================================================================
  9.  [Plugin Customization]
  10. =================================================================================*/
  11.  
  12. // Classic Zombie Attributes
  13. new const zclass1_name[] = { "Klasszikus Zombi" }
  14. new const zclass1_info[] = { "=Kiegyenlitett=" }
  15. new const zclass1_model[] = { "bb_classic" }
  16. new const zclass1_clawmodel[] = { "v_bloodyhands" }
  17. const zclass1_health = 3000
  18. const zclass1_speed = 260
  19. const Float:zclass1_gravity = 1.0
  20. const zclass1_adminflags = ADMIN_ALL
  21.  
  22. // Fast Zombie Attributes
  23. new const zclass2_name[] = { "Gyors Zombi" }
  24. new const zclass2_info[] = { "HP-- Gyorsasag++" }
  25. new const zclass2_model[] = { "bb_fast" }
  26. new const zclass2_clawmodel[] = { "v_bloodyhands" }
  27. const zclass2_health = 2000
  28. const zclass2_speed = 325
  29. const Float:zclass2_gravity = 1.0
  30. const zclass2_adminflags = ADMIN_ALL
  31.  
  32. // Jumper Zombie Attributes
  33. new const zclass3_name[] = { "Ugro Zombi" }
  34. new const zclass3_info[] = { "HP- Ugras+" }
  35. new const zclass3_model[] = { "bb_jumper" }
  36. new const zclass3_clawmodel[] = { "v_bloodyhands" }
  37. const zclass3_health = 2500
  38. const zclass3_speed = 285
  39. const Float:zclass3_gravity = 0.5
  40. const zclass3_adminflags = ADMIN_ALL
  41.  
  42. // Tanker Zombie Attributes
  43. new const zclass4_name[] = { "Tank Zombi" }
  44. new const zclass4_info[] = { "HP++ Gyorsasag-" }
  45. new const zclass4_model[] = { "bb_tanker" }
  46. new const zclass4_clawmodel[] = { "v_bloodyhands" }
  47. const zclass4_health = 4000
  48. const zclass4_speed = 210
  49. const Float:zclass4_gravity = 1.0
  50. const zclass4_adminflags = ADMIN_ALL
  51. #define TANK_ARMOR 200
  52.  
  53. /*============================================================================*/
  54.  
  55. new g_zclass_tanker
  56.  
  57. // Zombie Classes MUST be registered on plugin_precache
  58. public plugin_precache()
  59. {
  60. register_plugin("[BB] Default Zombie Classes", "6.5", "Tirant")
  61.  
  62. // Register all classes
  63. bb_register_zombie_class(zclass1_name, zclass1_info, zclass1_model, zclass1_clawmodel, zclass1_health, zclass1_speed, zclass1_gravity, 0.0, zclass1_adminflags)
  64. bb_register_zombie_class(zclass2_name, zclass2_info, zclass2_model, zclass2_clawmodel, zclass2_health, zclass2_speed, zclass2_gravity, 0.0, zclass2_adminflags)
  65. bb_register_zombie_class(zclass3_name, zclass3_info, zclass3_model, zclass3_clawmodel, zclass3_health, zclass3_speed, zclass3_gravity, 0.0, zclass3_adminflags)
  66. g_zclass_tanker = bb_register_zombie_class(zclass4_name, zclass4_info, zclass4_model, zclass4_clawmodel, zclass4_health, zclass4_speed, zclass4_gravity, 0.0, zclass4_adminflags)
  67. }
  68.  
  69. #if defined TANK_ARMOR
  70. public plugin_init()
  71. {
  72. RegisterHam(Ham_Spawn, "player", "ham_PlayerSpawn_Post", 1)
  73. }
  74.  
  75. public ham_PlayerSpawn_Post(id)
  76. {
  77. if (!is_user_alive(id))
  78. return ;
  79.  
  80. if (bb_is_user_zombie(id) && bb_get_user_zombie_class(id) == g_zclass_tanker)
  81. {
  82. give_item(id, "item_assaultsuit");
  83. cs_set_user_armor(id, TANK_ARMOR, CS_ARMOR_VESTHELM);
  84. }
  85. }
  86. #endif
  87.  

_________________
Nem Toretto vagyok!!! hanem s[T]* Levii (És le lehet szállni a Torreto-zásról)

Ts3 Ip: ts.beathost.ml:10005


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: Bázis építő Zombi beleírása.
HozzászólásElküldve:2015.06.23. 19:21 
Offline
Nagyúr
Avatar

Csatlakozott:2012.09.23. 09:50
Hozzászólások:569
Megköszönt másnak: 76 alkalommal
Megköszönték neki: 37 alkalommal
Próbáld

SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <basebuilder>
  3. #include <hamsandwich>
  4. #include <fun>
  5. #include <cstrike>
  6.  
  7. /*================================================================================
  8.  [Plugin Customization]
  9. =================================================================================*/
  10.  
  11. // Classic Zombie Attributes
  12. new const zclass1_name[] = { "Klasszikus Zombi" }
  13. new const zclass1_info[] = { "=Kiegyenlitett=" }
  14. new const zclass1_model[] = { "bb_classic" }
  15. new const zclass1_clawmodel[] = { "v_bloodyhands" }
  16. const zclass1_health = 3000
  17. const zclass1_speed = 260
  18. const Float:zclass1_gravity = 1.0
  19. const zclass1_adminflags = ADMIN_ALL
  20.  
  21. // Fast Zombie Attributes
  22. new const zclass2_name[] = { "Gyors Zombi" }
  23. new const zclass2_info[] = { "HP-- Gyorsasag++" }
  24. new const zclass2_model[] = { "bb_fast" }
  25. new const zclass2_clawmodel[] = { "v_bloodyhands" }
  26. const zclass2_health = 2000
  27. const zclass2_speed = 325
  28. const Float:zclass2_gravity = 1.0
  29. const zclass2_adminflags = ADMIN_ALL
  30.  
  31. // Jumper Zombie Attributes
  32. new const zclass3_name[] = { "Ugro Zombi" }
  33. new const zclass3_info[] = { "HP- Ugras+" }
  34. new const zclass3_model[] = { "bb_jumper" }
  35. new const zclass3_clawmodel[] = { "v_bloodyhands" }
  36. const zclass3_health = 2500
  37. const zclass3_speed = 285
  38. const Float:zclass3_gravity = 0.5
  39. const zclass3_adminflags = ADMIN_ALL
  40.  
  41. // Tanker Zombie Attributes
  42. new const zclass4_name[] = { "Tank Zombi" }
  43. new const zclass4_info[] = { "HP++ Gyorsasag-" }
  44. new const zclass4_model[] = { "bb_tanker" }
  45. new const zclass4_clawmodel[] = { "v_bloodyhands" }
  46. const zclass4_health = 4000
  47. const zclass4_speed = 210
  48. const Float:zclass4_gravity = 1.0
  49. const zclass4_adminflags = ADMIN_ALL
  50. #define TANK_ARMOR 200
  51.  
  52. new const zclass5_name[] = { "Zombi neve" }
  53. new const zclass5_info[] = { "Kepesseg" }
  54. new const zclass5_model[] = { "modell_neve" }
  55. new const zclass5_clawmodel[] = { "v_bloodyhands" }
  56. const zclass5_health = 4000 //élet
  57. const zclass5_speed = 210 //sebesség
  58. const Float:zclass5_gravity = 1.0 //grav
  59. const zclass5_adminflags = ADMIN_ALL
  60.  
  61. new const zclass6_name[] = { "Zombi neve" }
  62. new const zclass6_info[] = { "Kepesseg" }
  63. new const zclass6_model[] = { "modell_neve" }
  64. new const zclass6_clawmodel[] = { "v_bloodyhands" }
  65. const zclass6_health = 4000 //élet
  66. const zclass6_speed = 210 //sebesség
  67. const Float:zclass6_gravity = 1.0 //grav
  68. const zclass6_adminflags = ADMIN_ALL
  69.  
  70. /*============================================================================*/
  71.  
  72. new g_zclass_tanker
  73.  
  74. // Zombie Classes MUST be registered on plugin_precache
  75. public plugin_precache()
  76. {
  77. register_plugin("[BB] Default Zombie Classes", "6.5", "Tirant")
  78.  
  79. // Register all classes
  80. bb_register_zombie_class(zclass1_name, zclass1_info, zclass1_model, zclass1_clawmodel, zclass1_health, zclass1_speed, zclass1_gravity, 0.0, zclass1_adminflags)
  81. bb_register_zombie_class(zclass2_name, zclass2_info, zclass2_model, zclass2_clawmodel, zclass2_health, zclass2_speed, zclass2_gravity, 0.0, zclass2_adminflags)
  82. bb_register_zombie_class(zclass3_name, zclass3_info, zclass3_model, zclass3_clawmodel, zclass3_health, zclass3_speed, zclass3_gravity, 0.0, zclass3_adminflags)
  83. bb_register_zombie_class(zclass5_name, zclass5_info, zclass5_model, zclass5_clawmodel, zclass5_health, zclass5_speed, zclass5_gravity, 0.0, zclass5_adminflags)
  84. bb_register_zombie_class(zclass6_name, zclass6_info, zclass6_model, zclass6_clawmodel, zclass6_health, zclass6_speed, zclass6_gravity, 0.0, zclass6_adminflags)
  85. g_zclass_tanker = bb_register_zombie_class(zclass4_name, zclass4_info, zclass4_model, zclass4_clawmodel, zclass4_health, zclass4_speed, zclass4_gravity, 0.0, zclass4_adminflags)
  86. }
  87.  
  88. #if defined TANK_ARMOR
  89. public plugin_init()
  90. {
  91. RegisterHam(Ham_Spawn, "player", "ham_PlayerSpawn_Post", 1)
  92. }
  93.  
  94. public ham_PlayerSpawn_Post(id)
  95. {
  96. if (!is_user_alive(id))
  97. return ;
  98.  
  99. if (bb_is_user_zombie(id) && bb_get_user_zombie_class(id) == g_zclass_tanker)
  100. {
  101. give_item(id, "item_assaultsuit");
  102. cs_set_user_armor(id, TANK_ARMOR, CS_ARMOR_VESTHELM);
  103. }
  104. }
  105. #endif

_________________
Kép


Hozzászólás jelentése
Vissza a tetejére
   
Hozzászólások megjelenítése: Rendezés 
Új téma nyitása Hozzászólás a témához  [2 hozzászólás ] 


Ki van itt

Jelenlévő fórumozók: nincs regisztrált felhasználó valamint 24 vendég


Nyithatsz új témákat ebben a fórumban.
Válaszolhatsz egy témára ebben a fórumban.
Nem szerkesztheted a hozzászólásaidat ebben a fórumban.
Nem törölheted a hozzászólásaidat ebben a fórumban.
Nem küldhetsz csatolmányokat ebben a fórumban.

Keresés:
Ugrás:  
Powered by phpBB® Forum Software © phpBB Limited
Magyar fordítás © Magyar phpBB Közösség
Portal: Kiss Portal Extension © Michael O'Toole