It's work, thanks!
EDIT: And only a block that? :
PHP Code:
#include <amxmodx>
#include <hamsandwich>
#define VERSION "0.0.1"
#define PLUGIN "No Fall Damage"
const DMG_FALL = (1<<5) // Fell too far
public plugin_init()
{
register_plugin(PLUGIN, VERSION, "ConnorMcLeod")
RegisterHam(Ham_TakeDamage, "player", "CBasePlayer_TakeDamage", false)
}
public CBasePlayer_TakeDamage(id, iInflictor, iAttacker, Float:flDamage, bitsDamageType)
{
if( bitsDamageType == DMG_FALL )
{
SetHamReturnInteger(0)
return HAM_SUPERCEDE
}
return HAM_IGNORED
}