if player suffers from falldamage, i want his falldamage to be divided by 2 (falldamage/2)
PHP Code:
public FwdHamPlayerDamage( id, idInflictor, idAttacker, Float:flDamage, iDamageBits ) {
if( iDamageBits & DMG_FALL )
if( get_gametime() < g_fProtectTime[id])
return HAM_SUPERCEDE;
return HAM_IGNORED;
}
__________________