zombi serverda zombiler human karakterine tek dokonuşta zombi yapıyor bunu 3 yada 4 dokunuşta zombi yapabilmesi için humanın healthini nasıl yükseltirim..sma içindeki health kısmından rakamı yükselttim değişen bişey olmadı yardım pls..
/*================================================================================
----------------------------------
-*- [ZP] Class: Human: Classic -*-
----------------------------------
This plugin is part of Zombie Plague Mod and is distributed under the
terms of the GNU General Public License. Check ZP_ReadMe.txt for details.
================================================================================*/
#include <amxmodx>
#include <zp50_class_humann>
// Classic Human Attributes
new const humanclass1_name[] = "Yuri"
new const humanclass1_info[] = "= Ayarli ="
new const humanclass1_models[][] = { "cso_yuri" }
const humanclass1_health = 200
const Float:humanclass1_speed = 1.15
const Float:humanclass1_gravity = 0.7
new g_HumanClassID
public plugin_precache()
{
register_plugin("[ZP] Class: Human: Classic", ZP_VERSION_STRING, "ZP Dev Team")
g_HumanClassID = zp_class_human_register(humanclass1_name, humanclass1_info, humanclass1_health, humanclass1_speed, humanclass1_gravity)
new index
for (index = 0; index < sizeof humanclass1_models; index++)
zp_class_human_register_model(g_HumanClassID, humanclass1_models[index])
}
#if defined _cs_ham_bots_api_included
#endinput
#endif
#define _cs_ham_bots_api_included
#if AMXX_VERSION_NUM >= 175
#pragma reqlib cs_ham_bots_api
#if !defined AMXMODX_NOAUTOLOAD
#pragma loadlib cs_ham_bots_api
#endif
#else
#pragma library cs_ham_bots_api
#endif
/**
* Hooks the virtual table for CZ Bots entity class.
* An example would be: RegisterHamBots(Ham_TakeDamage, "player_hurt");
* Look at the Ham enum for parameter lists.
*
* @param function The function to hook.
* @param callback The forward to call.
* @param post Whether or not to forward this in post.
* @return Returns a handle to the forward. Use EnableHamForwardBots/DisableHamForwardBots to toggle the forward on or off.
*/
native RegisterHamBots(Ham:function, const Callback[], Post=0);
/**
* Stops a ham forward from triggering for CZ Bots.
* Use the return value from RegisterHamBots as the parameter here!
*
* @param fwd The forward to stop.
*/
native DisableHamForwardBots(fwd);
/**
* Starts a ham forward back up for CZ Bots.
* Use the return value from RegisterHamBots as the parameter here!
*
* @param fwd The forward to re-enable.
*/
native EnableHamForwardBots(fwd);
crayz yazdı:zombi serverda zombiler human karakterine tek dokonuşta zombi yapıyor bunu 3 yada 4 dokunuşta zombi yapabilmesi için humanın healthini nasıl yükseltirim..sma içindeki health kısmından rakamı yükselttim değişen bişey olmadı yardım pls..
/*================================================================================
----------------------------------
-*- [ZP] Class: Human: Classic -*-
----------------------------------
This plugin is part of Zombie Plague Mod and is distributed under the
terms of the GNU General Public License. Check ZP_ReadMe.txt for details.
================================================================================*/
#include <amxmodx>
#include <zp50_class_humann>
// Classic Human Attributes
new const humanclass1_name[] = "Yuri"
new const humanclass1_info[] = "= Ayarli ="
new const humanclass1_models[][] = { "cso_yuri" }
const humanclass1_health = 200
const Float:humanclass1_speed = 1.15
const Float:humanclass1_gravity = 0.7
new g_HumanClassID
public plugin_precache()
{
register_plugin("[ZP] Class: Human: Classic", ZP_VERSION_STRING, "ZP Dev Team")
g_HumanClassID = zp_class_human_register(humanclass1_name, humanclass1_info, humanclass1_health, humanclass1_speed, humanclass1_gravity)
new index
for (index = 0; index < sizeof humanclass1_models; index++)
zp_class_human_register_model(g_HumanClassID, humanclass1_models[index])
}
#if defined _cs_ham_bots_api_included
#endinput
#endif
#define _cs_ham_bots_api_included
#if AMXX_VERSION_NUM >= 175
#pragma reqlib cs_ham_bots_api
#if !defined AMXMODX_NOAUTOLOAD
#pragma loadlib cs_ham_bots_api
#endif
#else
#pragma library cs_ham_bots_api
#endif
/**
* Hooks the virtual table for CZ Bots entity class.
* An example would be: RegisterHamBots(Ham_TakeDamage, "player_hurt");
* Look at the Ham enum for parameter lists.
*
* @param function The function to hook.
* @param callback The forward to call.
* @param post Whether or not to forward this in post.
* @return Returns a handle to the forward. Use EnableHamForwardBots/DisableHamForwardBots to toggle the forward on or off.
*/
native RegisterHamBots(Ham:function, const Callback[], Post=0);
/**
* Stops a ham forward from triggering for CZ Bots.
* Use the return value from RegisterHamBots as the parameter here!
*
* @param fwd The forward to stop.
*/
native DisableHamForwardBots(fwd);
/**
* Starts a ham forward back up for CZ Bots.
* Use the return value from RegisterHamBots as the parameter here!
*
* @param fwd The forward to re-enable.
*/
native EnableHamForwardBots(fwd);
İstersen 90K HP yap,yine tek yemesini engelleyemezsin.Armor vermek zorundasın.