根本不需要改血量什么的好吗 = =||
一个小插件就OK了
复制程式
#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#define PLUGIN "XX"
#define VERSION "XX"
#define AUTHOR "XX"
#define DMG_FALL (1<<5)
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_TakeDamage, "player", "fw_TakeDamage")
}
public fw_TakeDamage(victim, inflictor, attacker, Float:damage, damage_type)
{
if(!(damage_type & DMG_FALL))
return HAM_IGNORED
return HAM_SUPERCEDE
}