Код
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#define PLUGIN "No Damage"
#define VERSION "1.0"
#define AUTHOR "NooB2"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam( Ham_TakeDamage, "player", "EVENT_TakeDamage" );
.
}
public EVENT_TakeDamage( iVictim, iWeapon, iAttacker, Float:f_Damage, damagetype )
{
if ( damagetype & DMG_FALL ) return HAM_SUPERCEDE;
return HAM_IGNORED;
}