hlmod.hu
https://hlmod.hu/

Mi a hiba EBBEN a BB_CLASSES65 SMÁBAN?
https://hlmod.hu/viewtopic.php?f=24&t=4869
Oldal: 1 / 1

Szerző:  tson_ [2012.06.23. 20:49 ]
Hozzászólás témája:  Mi a hiba EBBEN a BB_CLASSES65 SMÁBAN?

Egy régebbi topicból szedtem ki és módosítottam ezt a kódot de befagy a szeró ettől.
Kód:
AMX Mod X version 1.8.1.3746 Copyright (c) 2004-2006 AMX Mod X Development Team 
AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
This is free software and you are welcome to redistribute it under
certain conditions; type 'amxx gpl' for details.

stray key in process_key: item_getiteminfo 63
scandir failed:/home/servers/cs16/tryrytr/./valve/SAVE
scandir failed:/home/servers/cs16/rtytryl/./platform/SAVE
L 06/23/2012 - 20:30:49: -------- Mapchange to de_dust2 --------
L 06/23/2012 - 20:30:49: [AMXX] Plugin file open error (plugin "block_wallhack.amxx")
[HATS] Loaded 0 hats, Generated 0 pages)
FATAL ERROR (shutting down): Mod_NumForName: models/player/rbs_tanker/rbs_tankerT.mdl not found
Cannot access memory at address 0xf77ba658
Cannot access memory at address 0xffbd9490
/home/servers/cs16/cs16skull/debug.cmds:3: Error in sourced command file:
Cannot access memory at address 0xf77ba658
email debug.log to kakaogo@gmail.com
2012. jĂşn. 23., szombat, 20.30.49 CEST: Server restart in 10 seconds


Kód:
  1. /*================================================================================

  2.    

  3.    -----------------------------------

  4.    -*- [BB] Default Zombie Classes -*-

  5.    -----------------------------------

  6.    

  7.    ~~~~~~~~~~~~~~~

  8.    - Description -

  9.    ~~~~~~~~~~~~~~~

  10.    

  11.    This plugin adds the default zombie classes from Zombie Plague

  12.    into Base Builder. All credit belongs to MeRcyLeZZ.

  13.    

  14.    All classes have been balanced, but feel free to edit them if

  15.    you are not satisfied.

  16.    

  17. ================================================================================*/

  18.  

  19. #include <amxmodx>

  20. #include <basebuilder>

  21. #include <hamsandwich>

  22. #include <fun>

  23. #include <cstrike>

  24.  

  25. /*================================================================================

  26.  [Plugin Customization]

  27. =================================================================================*/

  28.  

  29. // Classic Zombie Attributes

  30. new const zclass1_name[] = { "Klasszikus Zombi" }

  31. new const zclass1_info[] = { "=Kiegyensulyozott=" }

  32. new const zclass1_model[] = { "bb_classic" }

  33. new const zclass1_clawmodel[] = { "v_bloodyhands" }

  34. const zclass1_health = 3000

  35. const zclass1_speed = 260

  36. const Float:zclass1_gravity = 1.0

  37. const zclass1_adminflags = ADMIN_ALL

  38.  

  39. // Fast Zombie Attributes

  40. new const zclass2_name[] = { "Gyors Zombi" }

  41. new const zclass2_info[] = { "HP-- Speed++" }

  42. new const zclass2_model[] = { "bb_fast_rockbottom_zm" }

  43. new const zclass2_clawmodel[] = { "v_bloodyhands_fast_rockbottom_zm" }

  44. const zclass2_health = 2000

  45. const zclass2_speed = 325

  46. const Float:zclass2_gravity = 1.0

  47. const zclass2_adminflags = ADMIN_ALL

  48.  

  49. // Jumper Zombie Attributes

  50. new const zclass3_name[] = { "Magasugro Zombi" }

  51. new const zclass3_info[] = { "HP- Jump+" }

  52. new const zclass3_model[] = { "bb_jumper_rockbottom_zm" }

  53. new const zclass3_clawmodel[] = { "v_bloodyhands_jumper_rockbottom_zm" }

  54. const zclass3_health = 2500

  55. const zclass3_speed = 285

  56. const Float:zclass3_gravity = 0.5

  57. const zclass3_adminflags = ADMIN_ALL

  58.  

  59. // Tanker Zombie Attributes

  60. new const zclass4_name[] = { "Tanker Zombi" }

  61. new const zclass4_info[] = { "HP++ Speed-" }

  62. new const zclass4_model[] = { "rbs_tanker_rockbottom_zm" }

  63. new const zclass4_clawmodel[] = { "v_bloodyhands_tanker_rockbottom_zm" }

  64. const zclass4_health = 4500

  65. const zclass4_speed = 210

  66. const Float:zclass4_gravity = 1.0

  67. const zclass4_adminflags = ADMIN_ALL

  68. #define TANK_ARMOR 200

  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.    precache_model("models/player/rbs_tanker/rbs_tankerT.mdl")

  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.    g_zclass_tanker = bb_register_zombie_class(zclass4_name, zclass4_info, zclass4_model, zclass4_clawmodel, zclass4_health, zclass4_speed, zclass4_gravity, 0.0,

  84.  

  85. 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

Szerző:  kiki [2012.06.23. 20:51 ]
Hozzászólás témája:  Re: Mi a hiba?

FATAL ERROR (shutting down): Mod_NumForName: models/player/rbs_tanker/rbs_tankerT.mdl not found

rbs_tankerhez hiányzik a textúra modell!

Szerző:  tson_ [2012.06.23. 20:53 ]
Hozzászólás témája:  Re: Mi a hiba?

Régen emlékszem volt ez a modelT is a modellhez de most nincs szükség rá, mert csak 1 sima modell van nem kell precache akkor mitkell kiszedni ?

Szerző:  IrOn [2012.06.23. 20:56 ]
Hozzászólás témája:  Re: Mi a hiba?

kuka, rossz témanév
nagyon dolgoznak a moderátorok, mindegyikhez nekem kell odaírni?...

Szerző:  tson_ [2012.06.23. 20:58 ]
Hozzászólás témája:  Re: Mi a hiba EBBEN A RETKES BB_CLASSES65 SMÁBAN?

Van jelentés gomb is ám.
ATtól hogy beleoffolsz nem fogják hamarabb észrevenni.

Szerző:  IrOn [2012.06.23. 21:00 ]
Hozzászólás témája:  Re: Mi a hiba EBBEN A RETKES BB_CLASSES65 SMÁBAN?

tson_ írta:
Van jelentés gomb is ám.
ATtól hogy beleoffolsz nem fogják hamarabb észrevenni.

nem sokat, ér törli és kész.. nem csinál semmit

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